Skip to content

Commit af0ce90

Browse files
committed
Renamed SimpleSharedMacTestSuiteIT to remove IT suffix
Removing the IT suffix should prevent the suite from getting picked up in the second failsafe execution. The excludedGroup tag was not working for some reason.
1 parent 2efdef7 commit af0ce90

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@
11601160
<goal>verify</goal>
11611161
</goals>
11621162
<configuration>
1163-
<test>org.apache.accumulo.suites.SimpleSharedMacTestSuiteIT</test>
1163+
<test>org.apache.accumulo.suites.SimpleSharedMacTestSuite</test>
11641164
</configuration>
11651165
</execution>
11661166
<execution>
@@ -1174,7 +1174,7 @@
11741174
exclude tests that were run as part of the test suite and
11751175
the test suite itself
11761176
-->
1177-
<excludedGroups>SimpleMiniClusterSuite,TestSuite</excludedGroups>
1177+
<excludedGroups>SimpleMiniClusterSuite</excludedGroups>
11781178
</configuration>
11791179
</execution>
11801180
</executions>

test/src/main/java/org/apache/accumulo/suites/SimpleSharedMacTestSuiteIT.java renamed to test/src/main/java/org/apache/accumulo/suites/SimpleSharedMacTestSuite.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import static org.apache.accumulo.harness.AccumuloITBase.SIMPLE_MINI_CLUSTER_SUITE;
2222

2323
import org.apache.accumulo.harness.SharedMiniClusterBase;
24-
import org.junit.jupiter.api.Tag;
2524
import org.junit.platform.suite.api.AfterSuite;
2625
import org.junit.platform.suite.api.BeforeSuite;
2726
import org.junit.platform.suite.api.IncludeClassNamePatterns;
@@ -33,8 +32,7 @@
3332
@SelectPackages("org.apache.accumulo.test") // look in this package and subpackages
3433
@IncludeTags(SIMPLE_MINI_CLUSTER_SUITE) // for tests with this tag
3534
@IncludeClassNamePatterns(".*IT") // need to override the default pattern ".*Test"
36-
@Tag("TestSuite")
37-
public class SimpleSharedMacTestSuiteIT extends SharedMiniClusterBase {
35+
public class SimpleSharedMacTestSuite extends SharedMiniClusterBase {
3836

3937
@BeforeSuite
4038
public static void beforeAllTests() throws Exception {

0 commit comments

Comments
 (0)