only call DubboBootstrap.reset(); once to make the test org.apache.dubbo.generic.GenericServiceTest faster (#13466)
This commit is contained in:
parent
71a1ed3cae
commit
570cd47d9a
|
|
@ -42,13 +42,13 @@ import java.util.Map;
|
|||
|
||||
import com.alibaba.dubbo.config.ReferenceConfig;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.BeforeAll;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
class GenericServiceTest {
|
||||
|
||||
@BeforeEach
|
||||
public void beforeEach() {
|
||||
@BeforeAll
|
||||
public static void beforeAll() {
|
||||
DubboBootstrap.reset();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue