Skip to content

Commit

Permalink
only call DubboBootstrap.reset(); once to make the test org.apache.du…
Browse files Browse the repository at this point in the history
…bbo.generic.GenericServiceTest faster (#13466)
  • Loading branch information
TestBoost authored Dec 14, 2023
1 parent 71a1ed3 commit 570cd47
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@

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

Expand Down

0 comments on commit 570cd47

Please sign in to comment.