You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2021/04/28 17:44:23 UTC
[GitHub] [accumulo] Manno15 opened a new pull request #2044: Addition unit test to exclude from using reuseForks
Manno15 opened a new pull request #2044:
URL: https://github.com/apache/accumulo/pull/2044
`AuthenticationTokenSecretManagerTest` failed on slim occasion. To be safe, I have excluded it from using reuseForks=true.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [accumulo] Manno15 commented on pull request #2044: Addition unit test to exclude from using reuseForks
Posted by GitBox <gi...@apache.org>.
Manno15 commented on pull request #2044:
URL: https://github.com/apache/accumulo/pull/2044#issuecomment-831830602
I will merge this in while a decision is made on how we want to approach the reuseForks flag.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [accumulo] Manno15 commented on a change in pull request #2044: Addition unit test to exclude from using reuseForks
Posted by GitBox <gi...@apache.org>.
Manno15 commented on a change in pull request #2044:
URL: https://github.com/apache/accumulo/pull/2044#discussion_r624993502
##########
File path: server/base/pom.xml
##########
@@ -128,6 +128,35 @@
<directory>src/test/resources</directory>
</testResource>
</testResources>
+ <pluginManagement>
+ <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>
+ </pluginManagement>
Review comment:
That's fair, I wasn't quite sure.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [accumulo] ctubbsii commented on a change in pull request #2044: Addition unit test to exclude from using reuseForks
Posted by GitBox <gi...@apache.org>.
ctubbsii commented on a change in pull request #2044:
URL: https://github.com/apache/accumulo/pull/2044#discussion_r624542845
##########
File path: server/base/pom.xml
##########
@@ -128,6 +128,35 @@
<directory>src/test/resources</directory>
</testResource>
</testResources>
+ <pluginManagement>
+ <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>
+ </pluginManagement>
Review comment:
I think this can go in `<plugins>` rather than `<pluginManagement><plugins>`:
```suggestion
<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>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [accumulo] Manno15 merged pull request #2044: Addition unit test to exclude from using reuseForks
Posted by GitBox <gi...@apache.org>.
Manno15 merged pull request #2044:
URL: https://github.com/apache/accumulo/pull/2044
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org