Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-15639

Jenkins build for jvm test should use testclasslist to support parameterized tests

    XMLWordPrintableJSON

    Details

      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

            Activity

              People

              • Assignee:
                dcapwell David Capwell
                Reporter:
                dcapwell David Capwell
                Authors:
                David Capwell
                Reviewers:
                Michael Semb Wever
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 40m
                  2h 40m