You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Owen Nichols (Jira)" <ji...@apache.org> on 2022/06/22 20:47:04 UTC

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

     [ https://issues.apache.org/jira/browse/GEODE-9208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen Nichols closed GEODE-9208.
-------------------------------

> 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: Task
>          Components: build, ci, tests
>    Affects Versions: 1.15.0
>            Reporter: Sarah Abbey
>            Assignee: Sarah Abbey
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.15.0
>
>
>  
> 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.20.7#820007)