only call DubboBootstrap.reset(); once to make the test org.apache.dubbo.generic.GenericServiceTest faster (#13466)

This commit is contained in:
TestBoost 2023-12-14 05:12:27 -06:00 committed by GitHub
parent 71a1ed3cae
commit 570cd47d9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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();
}