You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by al...@apache.org on 2022/08/27 09:30:05 UTC
[dubbo-samples] branch master updated: Fix triple reactor samples (#502)
This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-samples.git
The following commit(s) were added to refs/heads/master by this push:
new 3d9a1a64 Fix triple reactor samples (#502)
3d9a1a64 is described below
commit 3d9a1a645937ac2e0a9d10c93b529336ef89582b
Author: Albumen Kevin <jh...@gmail.com>
AuthorDate: Sat Aug 27 17:29:59 2022 +0800
Fix triple reactor samples (#502)
---
.github/workflows/dubbo-3.yml | 2 +-
.github/workflows/nightly-dubbo-3.yml | 2 +-
dubbo-samples-triple-reactor/case-configuration.yml | 5 ++++-
.../org/apache/dubbo/samples/triple/reactor/ReactorServerTest.java | 2 +-
4 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/dubbo-3.yml b/.github/workflows/dubbo-3.yml
index e981288c..d7f17251 100644
--- a/.github/workflows/dubbo-3.yml
+++ b/.github/workflows/dubbo-3.yml
@@ -27,7 +27,7 @@ env:
spring-boot.version:1.5.22.RELEASE;
spring-boot.version:2.4.1;
'
- DUBBO_REF: '3.0'
+ DUBBO_REF: '3.1'
jobs:
build-samples:
diff --git a/.github/workflows/nightly-dubbo-3.yml b/.github/workflows/nightly-dubbo-3.yml
index af458668..e62862f7 100644
--- a/.github/workflows/nightly-dubbo-3.yml
+++ b/.github/workflows/nightly-dubbo-3.yml
@@ -28,7 +28,7 @@ env:
spring-boot.version: 1.1.12.RELEASE, 1.2.8.RELEASE, 1.3.8.RELEASE, 1.4.7.RELEASE, 1.5.22.RELEASE;
spring-boot.version: 2.0.9.RELEASE, 2.1.18.RELEASE, 2.2.12.RELEASE, 2.3.7.RELEASE, 2.4.1
'
- DUBBO_REF: '3.0'
+ DUBBO_REF: '3.1'
jobs:
build-samples:
diff --git a/dubbo-samples-triple-reactor/case-configuration.yml b/dubbo-samples-triple-reactor/case-configuration.yml
index 7eed0617..688605b7 100644
--- a/dubbo-samples-triple-reactor/case-configuration.yml
+++ b/dubbo-samples-triple-reactor/case-configuration.yml
@@ -23,7 +23,7 @@ services:
- 50052
mainClass: org.apache.dubbo.samples.triple.reactor.ReactorServer
- dubbo-samples-triple-test:
+ dubbo-samples-triple-reactor-test:
type: test
basedir: .
tests:
@@ -31,5 +31,8 @@ services:
waitPortsBeforeRun:
- dubbo-samples-triple-reactor:2181
- dubbo-samples-triple-reactor:50052
+ systemProps:
+ - zookeeper.host=dubbo-samples-triple-reactor
+ - zookeeper.port=2181
depends_on:
- dubbo-samples-triple-reactor
diff --git a/dubbo-samples-triple-reactor/src/test/java/org/apache/dubbo/samples/triple/reactor/ReactorServerTest.java b/dubbo-samples-triple-reactor/src/test/java/org/apache/dubbo/samples/triple/reactor/ReactorServerTest.java
index f9f0cc5b..f15421af 100644
--- a/dubbo-samples-triple-reactor/src/test/java/org/apache/dubbo/samples/triple/reactor/ReactorServerTest.java
+++ b/dubbo-samples-triple-reactor/src/test/java/org/apache/dubbo/samples/triple/reactor/ReactorServerTest.java
@@ -44,7 +44,7 @@ public class ReactorServerTest {
DubboBootstrap bootstrap = DubboBootstrap.getInstance();
bootstrap.application(new ApplicationConfig("tri-reactor-stub-server"))
- .registry(new RegistryConfig("zookeeper://127.0.0.1:2181"))
+ .registry(new RegistryConfig("zookeeper://${zookeeper.address:127.0.0.1}:${zookeeper.port:2181}"))
.reference(referenceConfig)
.start();
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org