From 6df464bc10d79bbc8fce637a6ff714772d565f21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=87=B4=E8=8A=82?= Date: Thu, 23 Mar 2023 15:55:17 +0800 Subject: [PATCH 01/10] rename thread pool monitor config --- .../alipay/sofa/boot/logging/LogEnvironmentPostProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/logging/LogEnvironmentPostProcessor.java b/sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/logging/LogEnvironmentPostProcessor.java index 24044b740..fa255cfdd 100644 --- a/sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/logging/LogEnvironmentPostProcessor.java +++ b/sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/logging/LogEnvironmentPostProcessor.java @@ -47,7 +47,7 @@ public class LogEnvironmentPostProcessor implements EnvironmentPostProcessor, Or /** * support use config to disable sofa common thread pool monitor. */ - public static final String SOFA_THREAD_POOL_MONITOR_DISABLE = "sofa.boot.threadPoolMonitor.disable"; + public static final String SOFA_THREAD_POOL_MONITOR_DISABLE = "sofa.boot.tools.thread-pool-monitor"; @Override public void postProcessEnvironment(ConfigurableEnvironment environment, From a4a8d4ed570da638f29b815b2aa28a233a5310e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=87=B4=E8=8A=82?= Date: Thu, 23 Mar 2023 15:58:01 +0800 Subject: [PATCH 02/10] rename thread pool monitor config --- .../alipay/sofa/boot/logging/LogEnvironmentPostProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/logging/LogEnvironmentPostProcessor.java b/sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/logging/LogEnvironmentPostProcessor.java index fa255cfdd..d0894246a 100644 --- a/sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/logging/LogEnvironmentPostProcessor.java +++ b/sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/logging/LogEnvironmentPostProcessor.java @@ -47,7 +47,7 @@ public class LogEnvironmentPostProcessor implements EnvironmentPostProcessor, Or /** * support use config to disable sofa common thread pool monitor. */ - public static final String SOFA_THREAD_POOL_MONITOR_DISABLE = "sofa.boot.tools.thread-pool-monitor"; + public static final String SOFA_THREAD_POOL_MONITOR_DISABLE = "sofa.boot.tools.thread-pool-monitor-disable"; @Override public void postProcessEnvironment(ConfigurableEnvironment environment, From a2a5d80b800acffcf8d53844497e4da8cc8c379a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=87=B4=E8=8A=82?= Date: Thu, 23 Mar 2023 16:00:01 +0800 Subject: [PATCH 03/10] rename thread pool monitor config --- .../alipay/sofa/boot/logging/LogEnvironmentPostProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/logging/LogEnvironmentPostProcessor.java b/sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/logging/LogEnvironmentPostProcessor.java index d0894246a..c0534cc50 100644 --- a/sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/logging/LogEnvironmentPostProcessor.java +++ b/sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/logging/LogEnvironmentPostProcessor.java @@ -47,7 +47,7 @@ public class LogEnvironmentPostProcessor implements EnvironmentPostProcessor, Or /** * support use config to disable sofa common thread pool monitor. */ - public static final String SOFA_THREAD_POOL_MONITOR_DISABLE = "sofa.boot.tools.thread-pool-monitor-disable"; + public static final String SOFA_THREAD_POOL_MONITOR_DISABLE = "sofa.boot.tools.threadpool.monitor.disable"; @Override public void postProcessEnvironment(ConfigurableEnvironment environment, From 91689379aa2e5e128b87a9214f0a971f88e81aee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=87=B4=E8=8A=82?= Date: Mon, 27 Mar 2023 11:43:31 +0800 Subject: [PATCH 04/10] update dubbo 3.1.8 update maven-surefire-plugin 3.0.0 --- sofa-boot-project/sofaboot-dependencies/pom.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sofa-boot-project/sofaboot-dependencies/pom.xml b/sofa-boot-project/sofaboot-dependencies/pom.xml index 3839b31b9..10742cdb1 100644 --- a/sofa-boot-project/sofaboot-dependencies/pom.xml +++ b/sofa-boot-project/sofaboot-dependencies/pom.xml @@ -20,6 +20,7 @@ 3.19.0 3.1.2 0.8.7 + 3.0.0 6.1.8 4.0.0-SNAPSHOT @@ -47,7 +48,7 @@ 1.4 3.6.3.Final 4.0.1 - 2.6.9 + 3.1.8 0.11 1.0.0 1.6.7 From 88b7711075ad28b28d2f29398502fc090a1800a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=87=B4=E8=8A=82?= Date: Mon, 27 Mar 2023 12:04:03 +0800 Subject: [PATCH 05/10] update dubbo 3.1.8 update curator 5.4.0 --- .../sofa-boot-core/rpc-sofa-boot/pom.xml | 2 +- .../sofaboot-dependencies/pom.xml | 4 +-- .../src/main/resources/spring/test_all.xml | 19 +++++--------- .../rpc/boot/SofaBootRpcApplicationTests.java | 26 +++++++++---------- 4 files changed, 22 insertions(+), 29 deletions(-) diff --git a/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/pom.xml b/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/pom.xml index 705bd414b..3b33e335d 100644 --- a/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/pom.xml +++ b/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/pom.xml @@ -71,7 +71,7 @@ - com.alibaba + org.apache.dubbo dubbo diff --git a/sofa-boot-project/sofaboot-dependencies/pom.xml b/sofa-boot-project/sofaboot-dependencies/pom.xml index 10742cdb1..91508d923 100644 --- a/sofa-boot-project/sofaboot-dependencies/pom.xml +++ b/sofa-boot-project/sofaboot-dependencies/pom.xml @@ -47,7 +47,7 @@ 0.9.1.1 1.4 3.6.3.Final - 4.0.1 + 5.4.0 3.1.8 0.11 1.0.0 @@ -685,7 +685,7 @@ - com.alibaba + org.apache.dubbo dubbo ${dubbo.version} diff --git a/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/spring/test_all.xml b/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/spring/test_all.xml index d1aeba605..0c0579cb8 100644 --- a/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/spring/test_all.xml +++ b/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/spring/test_all.xml @@ -2,10 +2,8 @@ + http://sofastack.io/schema/sofaboot http://sofastack.io/schema/sofaboot.xsd"> @@ -117,7 +115,7 @@ - + - + @@ -155,11 +153,11 @@ - + @@ -183,7 +181,4 @@ interface="io.grpc.examples.helloworld.SofaGreeterTriple$IGreeter"> - - - diff --git a/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/test/java/com/alipay/sofa/smoke/tests/rpc/boot/SofaBootRpcApplicationTests.java b/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/test/java/com/alipay/sofa/smoke/tests/rpc/boot/SofaBootRpcApplicationTests.java index e3c533500..2324d0e16 100644 --- a/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/test/java/com/alipay/sofa/smoke/tests/rpc/boot/SofaBootRpcApplicationTests.java +++ b/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/test/java/com/alipay/sofa/smoke/tests/rpc/boot/SofaBootRpcApplicationTests.java @@ -36,6 +36,7 @@ import com.alipay.sofa.smoke.tests.rpc.boot.bean.annotation.AnnotationService; import com.alipay.sofa.smoke.tests.rpc.boot.bean.connectionnum.ConnectionNumService; import com.alipay.sofa.smoke.tests.rpc.boot.bean.direct.DirectService; +import com.alipay.sofa.smoke.tests.rpc.boot.bean.dubbo.DubboService; import com.alipay.sofa.smoke.tests.rpc.boot.bean.filter.FilterService; import com.alipay.sofa.smoke.tests.rpc.boot.bean.generic.GenericParamModel; import com.alipay.sofa.smoke.tests.rpc.boot.bean.generic.GenericResultModel; @@ -118,21 +119,21 @@ public class SofaBootRpcApplicationTests { @Autowired private RestService restService; - /*@Autowired - private DubboService dubboService;*/ + @Autowired + private DubboService dubboService; @Autowired private RetriesService retriesServiceBolt; - /* @Autowired - private RetriesService retriesServiceDubbo;*/ + @Autowired + private RetriesService retriesServiceDubbo; @Autowired @Qualifier(value = "lazyServiceBolt") private LazyService lazyServiceBolt; - /*@Autowired - private LazyService lazyServiceDubbo;*/ + @Autowired + private LazyService lazyServiceDubbo; @Autowired private ConnectionNumService connectionNumService; @@ -248,25 +249,22 @@ public void rest() { assertThat(restService.sayRest("rest")).isEqualTo("rest"); } - /*@Test + @Test public void testDubbo() { - Assert.assertEquals("dubbo", dubboService.sayDubbo("dubbo")); + assertThat("dubbo").isEqualTo(dubboService.sayDubbo("dubbo")); } - */ + @Test public void retries() throws InterruptedException { assertThat(retriesServiceBolt.sayRetry("retries_bolt")).isEqualTo("retries_bolt"); - //TODO need dubbo version upgrade later 3.0.6 for support jdk17 - //assertThat(retriesServiceDubbo.sayRetry("retries_dubbo")).isEqualTo("retries_dubbo"); - //TODO add dubbo expected 6 + assertThat(retriesServiceDubbo.sayRetry("retries_dubbo")).isEqualTo("retries_dubbo"); assertThat(RetriesServiceImpl.count.get()).isEqualTo(3); } @Test public void lazy() { assertThat(lazyServiceBolt.sayLazy("lazy_bolt")).isEqualTo("lazy_bolt"); - //TODO need dubbo version upgrade later 3.0.6 for support jdk17 - //assertThat(lazyServiceDubbo.sayLazy("lazy_dubbo")).isEqualTo("lazy_dubbo"); + assertThat(lazyServiceDubbo.sayLazy("lazy_dubbo")).isEqualTo("lazy_dubbo"); } @Test From 1f732eca2bff5e267c10554cbb8224ae87512bb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=87=B4=E8=8A=82?= Date: Mon, 27 Mar 2023 12:04:46 +0800 Subject: [PATCH 06/10] 1 --- sofa-boot-project/sofaboot-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sofa-boot-project/sofaboot-dependencies/pom.xml b/sofa-boot-project/sofaboot-dependencies/pom.xml index 91508d923..924d1d65f 100644 --- a/sofa-boot-project/sofaboot-dependencies/pom.xml +++ b/sofa-boot-project/sofaboot-dependencies/pom.xml @@ -47,7 +47,7 @@ 0.9.1.1 1.4 3.6.3.Final - 5.4.0 + 4.0.1 3.1.8 0.11 1.0.0 From 482acc540adb066c09d0adb1726288e859d2de44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=87=B4=E8=8A=82?= Date: Mon, 27 Mar 2023 12:09:31 +0800 Subject: [PATCH 07/10] 1 --- .../sofa-boot-core/rpc-sofa-boot/pom.xml | 24 ------------------- .../sofa-boot-smoke-tests-rpc/pom.xml | 2 +- 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/pom.xml b/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/pom.xml index 3b33e335d..5f0ca26a0 100644 --- a/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/pom.xml +++ b/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/pom.xml @@ -73,16 +73,6 @@ org.apache.dubbo dubbo - - - javassist - org.javassist - - - spring - org.springframework - - true @@ -90,20 +80,6 @@ com.101tec zkclient - - - org.slf4j - slf4j-api - - - org.slf4j - slf4j-log4j12 - - - org.apache.zookeeper - zookeeper - - true diff --git a/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/pom.xml b/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/pom.xml index 4e64e34a0..6ccdde86c 100644 --- a/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/pom.xml +++ b/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/pom.xml @@ -62,7 +62,7 @@ - com.alibaba + org.apache.dubbo dubbo From d0f45648a989658ff333c99428fcc0dd62a79e6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=87=B4=E8=8A=82?= Date: Mon, 27 Mar 2023 12:18:55 +0800 Subject: [PATCH 08/10] fix xml --- .../src/main/resources/spring/test_all.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/spring/test_all.xml b/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/spring/test_all.xml index 0c0579cb8..d3445d1c0 100644 --- a/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/spring/test_all.xml +++ b/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/spring/test_all.xml @@ -121,12 +121,12 @@ - --> + - + From 8a54eedbe75ff3ef992e700855bbb1fbdd475527 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=87=B4=E8=8A=82?= Date: Mon, 27 Mar 2023 16:03:10 +0800 Subject: [PATCH 09/10] update curator 4.3.0 --- sofa-boot-project/sofa-boot-core/rpc-sofa-boot/pom.xml | 6 ++++++ sofa-boot-project/sofaboot-dependencies/pom.xml | 8 ++++++-- .../sofa-boot-smoke-tests-rpc/pom.xml | 5 +++++ .../src/main/resources/spring/test_all.xml | 8 ++++---- .../smoke/tests/rpc/boot/SofaBootRpcApplicationTests.java | 2 +- 5 files changed, 22 insertions(+), 7 deletions(-) diff --git a/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/pom.xml b/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/pom.xml index 5f0ca26a0..6db18bcda 100644 --- a/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/pom.xml +++ b/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/pom.xml @@ -57,6 +57,12 @@ true + + org.apache.curator + curator-x-discovery + true + + io.swagger swagger-core diff --git a/sofa-boot-project/sofaboot-dependencies/pom.xml b/sofa-boot-project/sofaboot-dependencies/pom.xml index 924d1d65f..bd88ff608 100644 --- a/sofa-boot-project/sofaboot-dependencies/pom.xml +++ b/sofa-boot-project/sofaboot-dependencies/pom.xml @@ -47,7 +47,7 @@ 0.9.1.1 1.4 3.6.3.Final - 4.0.1 + 4.3.0 3.1.8 0.11 1.0.0 @@ -638,7 +638,11 @@ curator-recipes ${curator.version} - + + org.apache.curator + curator-x-discovery + ${curator.version} + org.jboss.resteasy diff --git a/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/pom.xml b/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/pom.xml index 6ccdde86c..31ae9cef5 100644 --- a/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/pom.xml +++ b/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/pom.xml @@ -81,6 +81,11 @@ org.apache.curator curator-recipes + + + org.apache.curator + curator-x-discovery + diff --git a/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/spring/test_all.xml b/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/spring/test_all.xml index d3445d1c0..1ebee5707 100644 --- a/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/spring/test_all.xml +++ b/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/main/resources/spring/test_all.xml @@ -116,10 +116,10 @@ - + - + @@ -134,7 +134,7 @@ + interface="com.alipay.sofa.smoke.tests.rpc.boot.bean.retry.RetriesService"> @@ -153,7 +153,7 @@ - + diff --git a/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/test/java/com/alipay/sofa/smoke/tests/rpc/boot/SofaBootRpcApplicationTests.java b/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/test/java/com/alipay/sofa/smoke/tests/rpc/boot/SofaBootRpcApplicationTests.java index 2324d0e16..06afe0529 100644 --- a/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/test/java/com/alipay/sofa/smoke/tests/rpc/boot/SofaBootRpcApplicationTests.java +++ b/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/test/java/com/alipay/sofa/smoke/tests/rpc/boot/SofaBootRpcApplicationTests.java @@ -85,7 +85,7 @@ * @author yuanxuan * @version : SofaBootRpcApplicationTests.java, v 0.1 15:19 yuanxuan Exp $ */ -@SpringBootTest(classes = RpcSofaBootApplication.class, properties = { +@SpringBootTest(classes = RpcSofaBootApplication.class, properties = {"sofa.boot.actuator.health.skipAll=true", "sofa.boot.rpc.rest-swagger=true", "sofa.boot.rpc.enable-swagger=true", "sofa.boot.rpc.defaultTracer=" }) From 6a591ab5aa06e37cfadbaf03b5745805fdd2da3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=87=B4=E8=8A=82?= Date: Wed, 29 Mar 2023 14:29:47 +0800 Subject: [PATCH 10/10] fix dubbo ut --- sofa-boot-project/sofaboot-dependencies/pom.xml | 2 +- .../rpc/boot/SofaBootRpcApplicationTests.java | 17 +++++++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/sofa-boot-project/sofaboot-dependencies/pom.xml b/sofa-boot-project/sofaboot-dependencies/pom.xml index bd88ff608..9ac48103c 100644 --- a/sofa-boot-project/sofaboot-dependencies/pom.xml +++ b/sofa-boot-project/sofaboot-dependencies/pom.xml @@ -50,7 +50,7 @@ 4.3.0 3.1.8 0.11 - 1.0.0 + 2.0.3 1.6.7 2.2.8 1.51.1 diff --git a/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/test/java/com/alipay/sofa/smoke/tests/rpc/boot/SofaBootRpcApplicationTests.java b/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/test/java/com/alipay/sofa/smoke/tests/rpc/boot/SofaBootRpcApplicationTests.java index 06afe0529..b5b391c99 100644 --- a/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/test/java/com/alipay/sofa/smoke/tests/rpc/boot/SofaBootRpcApplicationTests.java +++ b/sofa-boot-tests/sofa-boot-smoke-tests/sofa-boot-smoke-tests-rpc/src/test/java/com/alipay/sofa/smoke/tests/rpc/boot/SofaBootRpcApplicationTests.java @@ -85,13 +85,18 @@ * @author yuanxuan * @version : SofaBootRpcApplicationTests.java, v 0.1 15:19 yuanxuan Exp $ */ -@SpringBootTest(classes = RpcSofaBootApplication.class, properties = {"sofa.boot.actuator.health.skipAll=true", +@SpringBootTest(classes = RpcSofaBootApplication.class, properties = { + "sofa.boot.actuator.health.skipAll=true", "sofa.boot.rpc.rest-swagger=true", "sofa.boot.rpc.enable-swagger=true", "sofa.boot.rpc.defaultTracer=" }) @Import(SofaBootRpcApplicationTests.RpcAllConfiguration.class) public class SofaBootRpcApplicationTests { + static { + System.setProperty("dubbo.config.mode", "IGNORE"); + } + @Autowired private HelloSyncService helloSyncService; @@ -120,20 +125,20 @@ public class SofaBootRpcApplicationTests { private RestService restService; @Autowired - private DubboService dubboService; + private DubboService dubboService; @Autowired private RetriesService retriesServiceBolt; - @Autowired - private RetriesService retriesServiceDubbo; + @Autowired + private RetriesService retriesServiceDubbo; @Autowired @Qualifier(value = "lazyServiceBolt") private LazyService lazyServiceBolt; @Autowired - private LazyService lazyServiceDubbo; + private LazyService lazyServiceDubbo; @Autowired private ConnectionNumService connectionNumService; @@ -258,7 +263,7 @@ public void testDubbo() { public void retries() throws InterruptedException { assertThat(retriesServiceBolt.sayRetry("retries_bolt")).isEqualTo("retries_bolt"); assertThat(retriesServiceDubbo.sayRetry("retries_dubbo")).isEqualTo("retries_dubbo"); - assertThat(RetriesServiceImpl.count.get()).isEqualTo(3); + assertThat(RetriesServiceImpl.count.get()).isEqualTo(6); } @Test