[ 
https://issues.apache.org/jira/browse/GEODE-9208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17335475#comment-17335475
 ] 

ASF subversion and git services commented on GEODE-9208:
--------------------------------------------------------

Commit f260ddd16fa3db1215aabc3b3985000a5f8c1536 in geode's branch 
refs/heads/develop from Sarah
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=f260ddd ]

GEODE-9208: Allow StressNewTest to pick up tests from all directories (#6391)



> 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: Bug
>          Components: build, ci, tests
>    Affects Versions: 1.15.0
>            Reporter: Sarah Abbey
>            Assignee: Sarah Abbey
>            Priority: Minor
>              Labels: pull-request-available
>
>  
> 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)

Reply via email to