File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
client/src/test/java/org/asynchttpclient Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 19
19
import org .eclipse .jetty .server .Server ;
20
20
import org .eclipse .jetty .server .ServerConnector ;
21
21
import org .eclipse .jetty .server .handler .AbstractHandler ;
22
+ import org .junit .jupiter .api .AfterAll ;
22
23
import org .junit .jupiter .api .AfterEach ;
24
+ import org .junit .jupiter .api .BeforeAll ;
23
25
import org .junit .jupiter .api .BeforeEach ;
24
26
import org .junit .jupiter .api .TestInstance ;
25
27
import org .slf4j .Logger ;
@@ -36,7 +38,7 @@ public abstract class AbstractBasicTest {
36
38
protected int port1 = -1 ;
37
39
protected int port2 = -1 ;
38
40
39
- @ BeforeEach
41
+ @ BeforeAll
40
42
public void setUpGlobal () throws Exception {
41
43
server = new Server ();
42
44
ServerConnector connector1 = addHttpConnector (server );
@@ -50,7 +52,7 @@ public void setUpGlobal() throws Exception {
50
52
logger .info ("Local HTTP server started successfully" );
51
53
}
52
54
53
- @ AfterEach
55
+ @ AfterAll
54
56
public void tearDownGlobal () throws Exception {
55
57
logger .debug ("Shutting down local server: {}" , server );
56
58
You can’t perform that action at this time.
0 commit comments