[
https://issues.apache.org/jira/browse/CASSANDRA-9271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14549080#comment-14549080
]
Joshua McKenzie commented on CASSANDRA-9271:
--------------------------------------------
A couple of observations: 1) there's a non-deterministic time required for this
test to pass, 2) major compactions on CI take an order of magnitude longer to
complete than they do on my SSD-enabled laptop, and 3) upping the timeout on
all unit tests to 120 makes this test pass on the CI box *sometimes*.
I think we should move testCompactionRace out to a long test. [~benedict]:
you're the author of this test and it's been flaky w/regards to passing off and
on since introduction. Thoughts on long-testing it?
> IndexSummaryManagerTest.testCompactionRace times out periodically
> -----------------------------------------------------------------
>
> Key: CASSANDRA-9271
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9271
> Project: Cassandra
> Issue Type: Test
> Reporter: Ariel Weisberg
> Assignee: Joshua McKenzie
>
> The issue is that the amount of time the test takes is highly variable to it
> being biased towards creating a condition where the test has to retry the
> compaction it is attempting.
> Solution is to decrease the bias by having
> https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/ColumnFamilyStore.java#L2522
> check every millisecond instead of every 100 milliseconds.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)