[GitHub] carbondata pull request #1843: [CARBONDATA-2063][Tests] Fix bugs in interdep...

classic Classic list List threaded Threaded
24 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata pull request #1843: [CARBONDATA-2063][Tests] Fix bugs in interdep...

qiuchenjian-2
GitHub user xuchuanyin opened a pull request:

    https://github.com/apache/carbondata/pull/1843

    [CARBONDATA-2063][Tests] Fix bugs in interdependent tests

    Tests should not depend on each other, otherwise tests will fail in
    developer's IDE if they only run a single test at once.
   
    Be sure to do all of the following checklist to help us incorporate
    your contribution quickly and easily:
   
     - [x] Any interfaces changed?
     `NO`
     - [x] Any backward compatibility impacted?
      `NO`
     - [x] Document update required?
     `NO`
     - [x] Testing done
            Please provide details on
            - Whether new unit test cases have been added or why no new tests are required?
     `NO, only fix bugs in tests`
            - How it is tested? Please attach test report.
    `NO, only fix bugs in tests`
            - Is it a performance related change? Please attach the performance test report.
    `NO, only fix bugs in tests`
            - Any additional information to help reviewers in testing this change.
    `NO`
     - [x] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
    `Not related`


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/xuchuanyin/carbondata 0122_bug_tests_dependent

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/carbondata/pull/1843.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1843
   
----
commit 41900607e8c291e6d76cd9b6ff36a25e17a7dc4f
Author: xuchuanyin <xuchuanyin@...>
Date:   2018-01-22T08:14:38Z

    Fix bugs in interdependent tests
   
    Tests should not depend on each other, otherwise tests will fail in
    developer's IDE if they only run a single test at once.

----


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1843: [CARBONDATA-2063][Tests] Fix bugs in interdependent ...

qiuchenjian-2
Github user xuchuanyin commented on the issue:

    https://github.com/apache/carbondata/pull/1843
 
    retest this please


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1843: [CARBONDATA-2063][Tests] Fix bugs in interdependent ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1843
 
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/3030/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1843: [CARBONDATA-2063][Tests] Fix bugs in interdependent ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1843
 
    Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/1799/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1843: [CARBONDATA-2063][Tests] Fix bugs in interdependent ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user xuchuanyin commented on the issue:

    https://github.com/apache/carbondata/pull/1843
 
    retest this please


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1843: [CARBONDATA-2063][Tests] Fix bugs in interdependent ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:

    https://github.com/apache/carbondata/pull/1843
 
    SDV Build Fail , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/3029/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1843: [CARBONDATA-2063][Tests] Fix bugs in interdependent ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1843
 
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/3032/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1843: [CARBONDATA-2063][Tests] Fix bugs in interdependent ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1843
 
    Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/1801/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1843: [CARBONDATA-2063][Tests] Fix bugs in interdependent ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user sraghunandan commented on the issue:

    https://github.com/apache/carbondata/pull/1843
 
    LGTM


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1843: [CARBONDATA-2063][Tests] Fix bugs in interdependent ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user chenliang613 commented on the issue:

    https://github.com/apache/carbondata/pull/1843
 
    retest this please


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1843: [CARBONDATA-2063][Tests] Fix bugs in interdependent ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1843
 
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/3039/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1843: [CARBONDATA-2063][Tests] Fix bugs in interdependent ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1843
 
    Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/1808/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1843: [CARBONDATA-2063][Tests] Fix bugs in interdependent ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user xuchuanyin commented on the issue:

    https://github.com/apache/carbondata/pull/1843
 
    retest this please


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1843: [CARBONDATA-2063][Tests] Fix bugs in interdependent ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1843
 
    Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/1811/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1843: [CARBONDATA-2063][Tests] Fix bugs in interdependent ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1843
 
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/3042/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1843: [CARBONDATA-2063][Tests] Fix bugs in interdependent ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user xuchuanyin commented on the issue:

    https://github.com/apache/carbondata/pull/1843
 
    I think these issues in tests should be fixed. The tests should not depend on each other.
   
    **JUnit won't guarantee the execution order** of the tests as it says:
    Tests can use the objects (variables) in a test fixture, with each test invoking different methods on objects in the fixture and asserting different expected results. Each test runs in its own test fixture to isolate tests from the changes made by other tests. That is, tests don't share the state of objects in the test fixture. **`Because the tests are isolated, they can be run in any order`**. (refer to [this](http://junit.sourceforge.net/doc/faq/faq.htm#tests_2))
   



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1843: [CARBONDATA-2063][Tests] Fix bugs in interdependent ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user xuchuanyin commented on the issue:

    https://github.com/apache/carbondata/pull/1843
 
    retest this please


---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1843: [CARBONDATA-2063][Tests] Fix bugs in interdependent ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1843
 
    Build Failed  with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/3089/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1843: [CARBONDATA-2063][Tests] Fix bugs in interdependent ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/carbondata/pull/1843
 
    Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/1858/



---
Reply | Threaded
Open this post in threaded view
|

[GitHub] carbondata issue #1843: [CARBONDATA-2063][Tests] Fix bugs in interdependent ...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user chenliang613 commented on the issue:

    https://github.com/apache/carbondata/pull/1843
 
    retest this please


---
12