This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch 3.2
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.2 by this push:
new 570cd47d9a only call DubboBootstrap.reset(); once to make the test
org.apache.dubbo.generic.GenericServiceTest faster (#13466)
570cd47d9a is described below
commit 570cd47d9a47f93efcee835a47e40bdffe7046a6
Author: TestBoost <[email protected]>
AuthorDate: Thu Dec 14 05:12:27 2023 -0600
only call DubboBootstrap.reset(); once to make the test
org.apache.dubbo.generic.GenericServiceTest faster (#13466)
---
.../src/test/java/org/apache/dubbo/generic/GenericServiceTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/dubbo-compatible/src/test/java/org/apache/dubbo/generic/GenericServiceTest.java
b/dubbo-compatible/src/test/java/org/apache/dubbo/generic/GenericServiceTest.java
index 26f99a6f2d..65200169ac 100644
---
a/dubbo-compatible/src/test/java/org/apache/dubbo/generic/GenericServiceTest.java
+++
b/dubbo-compatible/src/test/java/org/apache/dubbo/generic/GenericServiceTest.java
@@ -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();
}