Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
Correctness - Test Failure
-
Normal
-
Low Hanging Fruit
-
Unit Test
-
All
-
None
-
Description
We switched Circle CI to use testclasslist in CASSANDRA-15508 this was to solve the following exception
ava.lang.Exception: No tests found matching Method testFailingMessage(org.apache.cassandra.distributed.test.FailingRepairTest) from org.junit.internal.requests.ClassRequest@551aa95a at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
The core issue is that the test locating logic in org.apache.cassandra.distributed.test.TestLocator does not handle parameterized tests so fails to find any tests for those classes.
I think it is better to switch to testclasslist as it helps make way for running tests concurrently.
Attachments
Issue Links
- is broken by
-
CASSANDRA-15508 Failing jvm dtest: FailingRepairTest.testFailingMessage
- Resolved
- is related to
-
CASSANDRA-15651 Jenkins tests to use testclasslist where possible (like CircleCI)
- Resolved
- links to