This is an automated email from the ASF dual-hosted git repository.

shoothzj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git


The following commit(s) were added to refs/heads/master by this push:
     new 917aaa2db Migrate solutions module to junit5 (#4105)
917aaa2db is described below

commit 917aaa2db8d6336929f6c991294f72eb0bdbe735
Author: pengxiangrui127 <[email protected]>
AuthorDate: Fri Dec 8 07:22:18 2023 +0800

    Migrate solutions module to junit5 (#4105)
---
 .../solution/basic/integration/TestHealthEndpointImpl.java          | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/solutions/solution-basic/src/test/java/org/apache/servicecomb/solution/basic/integration/TestHealthEndpointImpl.java
 
b/solutions/solution-basic/src/test/java/org/apache/servicecomb/solution/basic/integration/TestHealthEndpointImpl.java
index a429dd9fc..d0515a731 100644
--- 
a/solutions/solution-basic/src/test/java/org/apache/servicecomb/solution/basic/integration/TestHealthEndpointImpl.java
+++ 
b/solutions/solution-basic/src/test/java/org/apache/servicecomb/solution/basic/integration/TestHealthEndpointImpl.java
@@ -22,9 +22,9 @@ import java.util.Map;
 import org.apache.servicecomb.foundation.metrics.health.HealthCheckResult;
 import org.apache.servicecomb.foundation.metrics.health.HealthChecker;
 import org.apache.servicecomb.foundation.metrics.health.HealthCheckerManager;
-import org.junit.Before;
-import org.junit.Test;
 import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
 
 public class TestHealthEndpointImpl {
   private final HealthChecker good = new HealthChecker() {
@@ -52,7 +52,7 @@ public class TestHealthEndpointImpl {
   };
 
 
-  @Before
+  @BeforeEach
   public void reset() {
     HealthCheckerManager.getInstance().unregister(good.getName());
     HealthCheckerManager.getInstance().unregister(bad.getName());

Reply via email to