[
https://issues.apache.org/jira/browse/CASSANDRA-12283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15449444#comment-15449444
]
Benjamin Lerer commented on CASSANDRA-12283:
--------------------------------------------
Ignore, my previous comment it was caused by some of my experimentations.
I did not succeed to reproduce the problem but discover an issue with the way
Byteman was used. As the initialisation was done outside of the test method the
code that byteman should have inject was not always there. If it had been there
the test would have blocked on {{CommitLog.instance.resetUnsafe(true);}}. To
solve that problem I moved the initialization code inside the test method and
rewrote the test to make sure that the setup and teardown of the test were done
in a fully controled way. I also fixed the {{spinAssertEquals}} method to make
sure that it timeout when expected.
||branch||utest||dtest||
|[2.2|https://github.com/blerer/cassandra/tree/12283-2.2]|[2.2|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-12283-2.2-testall/]|[2.2|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-12283-2.2-dtest/]|
|[3.9.2|https://github.com/blerer/cassandra/tree/12283-3.9]|[3.9|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-12283-3.9-testall/]|[3.9|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-12283-3.9-dtest/]|
> CommitLogSegmentManagerTest.testCompressedCommitLogBackpressure is flaky
> ------------------------------------------------------------------------
>
> Key: CASSANDRA-12283
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12283
> Project: Cassandra
> Issue Type: Test
> Reporter: Joshua McKenzie
> Assignee: Benjamin Lerer
> Priority: Minor
> Labels: unittest
>
> Failed 3 of the last 38 runs.
> [Failure|http://cassci.datastax.com/job/cassandra-3.9_testall/lastCompletedBuild/testReport/org.apache.cassandra.db.commitlog/CommitLogSegmentManagerTest/testCompressedCommitLogBackpressure/]
> Details:
> 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.
> at java.lang.Thread.run(Thread.java:745)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)