You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Amit Singh F <am...@ericsson.com> on 2015/06/05 08:03:53 UTC

unit test failing when pull is taken

Hi All,

I have taken pull from Cassandra branch and when I try to run test cases , they start failing(around 13 test suites are failing). Below are some traces of some test suite which are failing :


*         [junit] Testsuite: org.apache.cassandra.db.compaction.BlacklistingCompactionsTest

                  [junit] Testsuite: org.apache.cassandra.db.compaction.BlacklistingCompactionsTest

                  [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec

                [junit] Testcase: org.apache.cassandra.db.compaction.BlacklistingCompactionsTest:testBlacklistingWithSizeTieredCompactionStrategy:               Caused an ERROR

                [junit] Timeout occurred. Please note the time in the report does not reflect the time until the timeout.

               [junit] junit.framework.AssertionFailedError: Timeout occurred. Please note the time in the report does not reflect the time until the timeout.



*          [junit] Testsuite: org.apache.cassandra.db.compaction.CompactionsTest
         [junit] Testsuite: org.apache.cassandra.db.compaction.CompactionsTest
                                     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec

[junit] Testcase: org.apache.cassandra.db.compaction.CompactionsTest:testDontPurgeAccidentaly:            Caused an ERROR
        [junit] Timeout occurred. Please note the time in the report does not reflect the time until the timeout.
                                   [junit] junit.framework.AssertionFailedError: Timeout occurred. Please note the time in the report does not reflect the time until the timeout.

Pull is taken and then ant test is fired. But after 32 mins below error was encountered and it stops executing. Interestingly when I try to run individually each test case suite, it ran successfully .

BUILD FAILED
/home/cassandra/build.xml:1076: The following error occurred while executing this line:
/home/cassandra/build.xml:1035: Some unit test(s) failed.

Could anybody please provide any possible solution for this or some pointers to get it done.

Regards
Amit Singh