Details
-
Task
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
Description
Cassandra's build.xml supports parallel test runners. This functionality is available through `-Dtest.runners` and the `testparallel` ant macro.
Having not been actively used and atrophied over time, it breaks a number of tests. The distributed in-jvm tests don't work at all with parallel runners (currently they need `-Dtest.runners=1` specified to work). And there are plenty of flakies, from where
tests use fixed ports (StorageServiceServerTest), to byteman (eg BMUnitRunner), and around conf files on disk.
This was raised on the dev ML, where the consensus was to remove it: https://lists.apache.org/thread.html/r1ca3c72b90fa6c57c1cb7dcd02a44221dcca991fe7392abd8c29fe95%40%3Cdev.cassandra.apache.org%3E
The idea is to then replace ant test parallelism with docker container parallelism.
Attachments
Issue Links
- fixes
-
CASSANDRA-13191 test failure in org.apache.cassandra.hints.HintsBufferPoolTest.testBackpressure
- Resolved
-
CASSANDRA-16569 Flaky StorageServiceServerTest
- Resolved
-
CASSANDRA-16587 flaky AntiCompactionBytemanTest.testRedundantTransitions byteman Connection refused
- Resolved
- is duplicated by
-
CASSANDRA-16566 Fix test testIsrepairedArg - org.apache.cassandra.tools.SSTableRepairedAtSetterTest
- Resolved
- relates to
-
CASSANDRA-7442 Parallelize unit test runner
- Resolved
-
CASSANDRA-16604 Parallelise docker container runs for tests in ci-cassandra.a.o
- Resolved