[
https://issues.apache.org/jira/browse/HADOOP-14321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15973676#comment-15973676
]
Mingliang Liu commented on HADOOP-14321:
----------------------------------------
+1
FWIW, surefire plugin supports regular expressions. Maybe we can consider that
later.
{code:xml}
diff --git a/hadoop-tools/hadoop-aws/pom.xml b/hadoop-tools/hadoop-aws/pom.xml
index c1880552b1..c1fb1fde3f 100644
--- a/hadoop-tools/hadoop-aws/pom.xml
+++ b/hadoop-tools/hadoop-aws/pom.xml
@@ -181,7 +181,7 @@
</includes>
<excludes>
<exclude>**/ITestJets3tNativeS3FileSystemContract.java</exclude>
- <exclude>**/ITest*Root*.java</exclude>
+ <exclude>%regex[.*ITest.*Root.*]</exclude>
<exclude>**/ITestS3AFileContextStatistics.java</exclude>
<exclude>**/ITestS3AEncryptionSSE*.java</exclude>
<exclude>**/ITestS3AHuge*.java</exclude>
@@ -209,7 +209,7 @@
<!-- parallel execution. -->
<includes>
<include>**/ITestJets3tNativeS3FileSystemContract.java</include>
- <include>**/ITest*Root*.java</include>
+ <include>%regex[.*ITest.*Root.*]</include>
<include>**/ITestS3AFileContextStatistics.java</include>
<include>**/ITestS3AHuge*.java</include>
<include>**/ITestS3AEncryptionSSE*.java</include>
{code}
> explicitly exclude s3a root dir ITests from parallel runs
> ---------------------------------------------------------
>
> Key: HADOOP-14321
> URL: https://issues.apache.org/jira/browse/HADOOP-14321
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/s3, test
> Affects Versions: 2.8.0
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Priority: Minor
> Attachments: HADOOP-14321-branch-2-001.patch
>
>
> the s3 root dir tests are running, even though they are meant to be excluded
> via the statement
> {code}
> <exclude>**/ITest*Root*.java</exclude>
> {code}
> Maybe the double * in the pattern is causing confusion. Fix: explicitly list
> the relevant tests (s3, s3n, s3a instead)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]