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 1919import org .eclipse .jetty .server .Server ;
2020import org .eclipse .jetty .server .ServerConnector ;
2121import org .eclipse .jetty .server .handler .AbstractHandler ;
22+ import org .junit .jupiter .api .AfterAll ;
2223import org .junit .jupiter .api .AfterEach ;
24+ import org .junit .jupiter .api .BeforeAll ;
2325import org .junit .jupiter .api .BeforeEach ;
2426import org .junit .jupiter .api .TestInstance ;
2527import org .slf4j .Logger ;
@@ -36,7 +38,7 @@ public abstract class AbstractBasicTest {
3638 protected int port1 = -1 ;
3739 protected int port2 = -1 ;
3840
39- @ BeforeEach
41+ @ BeforeAll
4042 public void setUpGlobal () throws Exception {
4143 server = new Server ();
4244 ServerConnector connector1 = addHttpConnector (server );
@@ -50,7 +52,7 @@ public void setUpGlobal() throws Exception {
5052 logger .info ("Local HTTP server started successfully" );
5153 }
5254
53- @ AfterEach
55+ @ AfterAll
5456 public void tearDownGlobal () throws Exception {
5557 logger .debug ("Shutting down local server: {}" , server );
5658
You can’t perform that action at this time.
0 commit comments