Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1389

Java package regex via command line selects no tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 2.20
    • None
    • None
    • None

    Description

      We noticed the following problem over in HBase

      On surefire 2.18.1 and 2.19.1, the following command would have the effect of running all tests which exist in the package org.apache.hadoop.hbase.quotas:

      mvn package -Dtest='org.apache.hadoop.hbase.quotas.*'
      

      Upon upgrading to 2.20, the same command executes no tests.

      If helpful, plugin configuration (albeit convoluted) can be found at https://github.com/apache/hbase/blob/branch-2/pom.xml. Happy to provide other info to help debug further – I haven't tried a trivial reproduction.

      Attachments

        Issue Links

          Activity

            People

              tibordigana Tibor Digana
              elserj Josh Elser
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: