You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jason Brown (JIRA)" <ji...@apache.org> on 2012/09/18 07:17:07 UTC

[jira] [Updated] (CASSANDRA-3841) long-test timing out

     [ https://issues.apache.org/jira/browse/CASSANDRA-3841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Brown updated CASSANDRA-3841:
-----------------------------------

    Attachment: 0001-CASSANDRA-3841-long-test-timing-out.patch

I was able to reproduce the originally reported error - it was just the junit test timing out. The previous time limit was 300000 ms (5 minutes), and I increased it to 600000 ms (10 minutes).

However, I was not able to reproduce Jonathan's reported problems, even after executing a run of all the individual tests:

for i in LongTableTest MeteredFlusherTest LongCompactionSpeedTest LongBloomFilterTest LongLegacyBloomFilterTest; do ant clean long-test -Dtest.name=$i; done
                
> long-test timing out
> --------------------
>
>                 Key: CASSANDRA-3841
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3841
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.1.0
>            Reporter: Michael Allen
>            Assignee: Jason Brown
>            Priority: Minor
>             Fix For: 1.1.6
>
>         Attachments: 0001-CASSANDRA-3841-long-test-timing-out.patch
>
>
>     [junit] ------------- ---------------- ---------------
>     [junit] Testsuite: org.apache.cassandra.db.compaction.LongCompactionSpeedTest
>     [junit] Testsuite: org.apache.cassandra.db.compaction.LongCompactionSpeedTest
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>     [junit] 
>     [junit] Testcase: org.apache.cassandra.db.compaction.LongCompactionSpeedTest:BeforeFirstTest:	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] 
>     [junit] 
>     [junit] Test org.apache.cassandra.db.compaction.LongCompactionSpeedTest FAILED (timeout)
>     [junit] Testsuite: org.apache.cassandra.utils.LongBloomFilterTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 64.536 sec
>     [junit] 
>     [junit] Testsuite: org.apache.cassandra.utils.LongLegacyBloomFilterTest
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 41.104 sec
>     [junit] 
> BUILD FAILED
> /Users/mallen/dstax/repos/git/cassandra/build.xml:1113: The following error occurred while executing this line:
> /Users/mallen/dstax/repos/git/cassandra/build.xml:1036: Some long test(s) failed.
> Total time: 63 minutes 9 seconds

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira