Skip to content

Commit 73ee832

Browse files
committed
Docs: modify junit test
Signed-off-by: Willam2004 <[email protected]>
1 parent 51494c4 commit 73ee832

File tree

1 file changed

+5
-7
lines changed
  • fastmodel-driver/fastmodel-driver-server/src/test/java/com/aliyun/fastmodel/driver/server

1 file changed

+5
-7
lines changed

fastmodel-driver/fastmodel-driver-server/src/test/java/com/aliyun/fastmodel/driver/server/DriverBaseTest.java

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
import java.util.Properties;
2121

2222
import org.junit.After;
23-
import org.junit.AfterClass;
2423
import org.junit.Before;
25-
import org.junit.BeforeClass;
2624

2725
/**
2826
* Desc:
@@ -32,16 +30,16 @@
3230
*/
3331
public class DriverBaseTest {
3432

35-
private static SimpleHttp simpleHttp;
33+
private SimpleHttp simpleHttp;
3634

37-
@BeforeClass
38-
public static void before() throws IOException {
35+
@Before
36+
public void before() throws IOException {
3937
simpleHttp = new SimpleHttp("localhost", 8082);
4038
simpleHttp.start();
4139
}
4240

43-
@AfterClass
44-
public static void after() {
41+
@After
42+
public void after() {
4543
simpleHttp.stop();
4644
}
4745

0 commit comments

Comments
 (0)