Java 16710 (#13471)
* JAVA-16710 Disabled reusing forks * JAVA-16710 Try removing alphabetical order for tests
This commit is contained in:
parent
16c529550f
commit
bd178710dc
|
@ -51,6 +51,18 @@
|
|||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.22.2</version>
|
||||
<configuration combine.self="override">
|
||||
<forkCount>3</forkCount>
|
||||
<reuseForks>false</reuseForks>
|
||||
<includes>
|
||||
<include>SpringContextTest</include>
|
||||
<include>**/*UnitTest</include>
|
||||
</includes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
|
|
|
@ -21,7 +21,6 @@ public class JndiExceptionsUnitTest {
|
|||
|
||||
@Test
|
||||
@Order(1)
|
||||
@Disabled
|
||||
void givenNoContext_whenLookupObject_thenThrowNoInitialContext() {
|
||||
assertThrows(NoInitialContextException.class, () -> {
|
||||
JndiTemplate jndiTemplate = new JndiTemplate();
|
||||
|
|
Loading…
Reference in New Issue