Details
Description
The unit test CompactionStrategyManagerTest.testAutomaticUpgradeConcurrency fails occasionally at least in trunk:
unit.framework.AssertionFailedError: expected:<1> but was:<0> at org.apache.cassandra.db.compaction.CompactionStrategyManagerTest.testAutomaticUpgradeConcurrency(CompactionStrategyManagerTest.java:227) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
The failure can be reproduced with:
.circleci/generate.sh -p \ -e REPEATED_UTESTS=org.apache.cassandra.db.compaction.CompactionStrategyManagerTest \ -e REPEATED_UTESTS_COUNT=1000
I have only tested trunk. I haven't seen it on Butler.
Observed flakiness is ~0.2% for all jobs except for tries, which ramps up to ~2.5%.
Attachments
Issue Links
- Discovered while testing
-
CASSANDRA-19336 Repair causes out of memory
- Resolved