This is an automated email from the ASF dual-hosted git repository.

jmanno pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/main by this push:
     new 552fd33  Additional unit test to exclude from using reuseForks (#2044)
552fd33 is described below

commit 552fd33407f9346fba45525f3abb36864de2ea09
Author: Jeffrey Manno <jeffreymann...@gmail.com>
AuthorDate: Tue May 4 06:11:43 2021 -0400

    Additional unit test to exclude from using reuseForks (#2044)
    
    * exclude AuthenticationTokenSecretManagerTest from reuseForks=true
---
 server/base/pom.xml | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/server/base/pom.xml b/server/base/pom.xml
index d499017..fda74eb 100644
--- a/server/base/pom.xml
+++ b/server/base/pom.xml
@@ -128,6 +128,33 @@
         <directory>src/test/resources</directory>
       </testResource>
     </testResources>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <!-- Tests that cannot run with reuseForks=true -->
+          <excludes>
+            <exclude>**/AuthenticationTokenSecretManagerTest.java</exclude>
+          </excludes>
+        </configuration>
+        <executions>
+          <execution>
+            <id>reuseForks-false-tests</id>
+            <goals>
+              <goal>test</goal>
+            </goals>
+            <configuration>
+              <reuseForks>false</reuseForks>
+              <excludes combine.self="override" />
+              <includes>
+                <include>**/AuthenticationTokenSecretManagerTest.java</include>
+              </includes>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
   </build>
   <profiles>
     <profile>

Reply via email to