You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Sarah Abbey (Jira)" <ji...@apache.org> on 2021/04/28 22:02:00 UTC

[jira] [Created] (GEODE-9208) StressNewTest doesn't pick up tests from all directories

Sarah Abbey created GEODE-9208:
----------------------------------

             Summary: StressNewTest doesn't pick up tests from all directories
                 Key: GEODE-9208
                 URL: https://issues.apache.org/jira/browse/GEODE-9208
             Project: Geode
          Issue Type: Improvement
          Components: build, ci, tests
    Affects Versions: 1.15.0
            Reporter: Sarah Abbey


 

When detecting which tests to run for StressNewTest, we use paths like the following:
{code:java}
'*/src/distributedTest/java'
{code}
This will pick up a file like this one:
{code:java}
 geode-assembly/src/distributedTest/java/org/apache/geode/session/tests/Jetty9CachingClientServerTest.java
{code}
But won't pick up this file since the `src` dir here is more than one directory deep:
{code:java}
extensions/geode-modules/src/distributedTest/java/org/apache/geode/modules/util/ClientServerSessionCacheDUnitTest.java 
{code}
We can use git's pathspec `:glob` keyword described [here|https://git-scm.com/docs/gitglossary] to pick up any number of directories preceding our desired path:
{code:java}
':(glob)**/src/distributedTest/java/**'
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)