mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-04 12:59:30 +00:00
order test and cleanup map (#3932)
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
This commit is contained in:
parent
6a6a45e60c
commit
0a1722d652
@ -19,6 +19,7 @@
|
|||||||
package org.eclipse.jetty.webapp;
|
package org.eclipse.jetty.webapp;
|
||||||
|
|
||||||
import org.junit.jupiter.api.AfterEach;
|
import org.junit.jupiter.api.AfterEach;
|
||||||
|
import org.junit.jupiter.api.BeforeEach;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
import static java.util.stream.Collectors.toList;
|
import static java.util.stream.Collectors.toList;
|
||||||
@ -36,6 +37,12 @@ public class ConfigurationsTest
|
|||||||
Configurations.cleanKnown();
|
Configurations.cleanKnown();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@BeforeEach
|
||||||
|
public void setup()
|
||||||
|
{
|
||||||
|
Configurations.cleanKnown();
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testSetKnown()
|
public void testSetKnown()
|
||||||
{
|
{
|
||||||
|
2
pom.xml
2
pom.xml
@ -638,6 +638,8 @@
|
|||||||
<failIfNoTests>false</failIfNoTests>
|
<failIfNoTests>false</failIfNoTests>
|
||||||
<forkCount>1</forkCount>
|
<forkCount>1</forkCount>
|
||||||
<reuseForks>true</reuseForks> <!-- to work around crash at https://github.com/junit-team/junit5/issues/801 -->
|
<reuseForks>true</reuseForks> <!-- to work around crash at https://github.com/junit-team/junit5/issues/801 -->
|
||||||
|
<!-- order can be different depending on os jvm so let's force it -->
|
||||||
|
<runOrder>alphabetical</runOrder>
|
||||||
<systemPropertyVariables>
|
<systemPropertyVariables>
|
||||||
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
|
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
|
||||||
<unix.socket.tmp>${unix.socket.tmp}</unix.socket.tmp>
|
<unix.socket.tmp>${unix.socket.tmp}</unix.socket.tmp>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user