[
https://issues.apache.org/jira/browse/CASSANDRA-13037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15760249#comment-15760249
]
Stefania commented on CASSANDRA-13037:
--------------------------------------
A call to {{syncComplete.signalAll()}} after setting {{lastSyncedOffset}} in
the close method fixed the race. I've multiplexed [this
branch|https://github.com/apache/cassandra/compare/trunk...stef1927:13037-2.1-debug]
and the
[results|http://cassci.datastax.com/job/stef1927-testall-multiplex/lastCompletedBuild/]
reported no failures. All 50 test runs completed in about 2 minutes.
I propose this patch for 2.1, which is identical to the branch above except
that I have removed the junit timeout rule that prints stack traces. The patch
is to be merged upwards with {{-s ours}}:
|[patch|https://github.com/apache/cassandra/compare/trunk...stef1927:13037-2.1]|[testall|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-13037-2.1-testall/]|[dtest|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-13037-2.1-dtest/]|
Do you agree [~blambov]?
> DropKeyspaceCommitLogRecycleTest.testRecycle times out in 2.1 and 2.2
> ---------------------------------------------------------------------
>
> Key: CASSANDRA-13037
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13037
> Project: Cassandra
> Issue Type: Bug
> Components: Testing
> Reporter: Stefania
> Assignee: Stefania
> Fix For: 2.1.x
>
>
> DropKeyspaceCommitLogRecycleTest.testRecycle times out in 2.1 and 2.2:
> http://cassci.datastax.com/job/cassandra-2.2_testall/589/testReport/junit/org.apache.cassandra.cql3/DropKeyspaceCommitLogRecycleTest/testRecycle/
> http://cassci.datastax.com/job/cassandra-2.1_testall/399/testReport/org.apache.cassandra.cql3/DropKeyspaceCommitLogRecycleTest/testRecycle/
> {code}
> Error Message
> Timeout occurred. Please note the time in the report does not reflect the
> time until the timeout.
> Stacktrace
> junit.framework.AssertionFailedError: Timeout occurred. Please note the time
> in the report does not reflect the time until the timeout.
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)