sabbey37 opened a new pull request #6391:
URL: https://github.com/apache/geode/pull/6391


   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/**'
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to