Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-9208

StressNewTest doesn't pick up tests from all directories

    XMLWordPrintableJSON

    Details

      Description

       

      When detecting which tests to run for StressNewTest, we use paths like the following:

      '*/src/distributedTest/java'
      

      This will pick up a file like this one:

       geode-assembly/src/distributedTest/java/org/apache/geode/session/tests/Jetty9CachingClientServerTest.java
      

      But won't pick up this file since the `src` dir here is more than one directory deep:

      extensions/geode-modules/src/distributedTest/java/org/apache/geode/modules/util/ClientServerSessionCacheDUnitTest.java 
      

      We can use git's pathspec `:glob` keyword described here to pick up any number of directories preceding our desired path:

      ':(glob)**/src/distributedTest/java/**'
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sabbey37 Sarah Abbey
                Reporter:
                sabbey37 Sarah Abbey
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: