You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by li...@apache.org on 2021/01/10 11:03:49 UTC
[dubbo-samples] branch master updated: add healthcheck for dubbo
service (#245)
This is an automated email from the ASF dual-hosted git repository.
liujun 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 4cd80a5 add healthcheck for dubbo service (#245)
4cd80a5 is described below
commit 4cd80a50b88dbf177b7602516b5f533219309667
Author: gongdewei <ky...@qq.com>
AuthorDate: Sun Jan 10 19:03:30 2021 +0800
add healthcheck for dubbo service (#245)
---
dubbo-samples-transaction/case-configuration.yml | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/dubbo-samples-transaction/case-configuration.yml b/dubbo-samples-transaction/case-configuration.yml
index e47da75..0446efe 100644
--- a/dubbo-samples-transaction/case-configuration.yml
+++ b/dubbo-samples-transaction/case-configuration.yml
@@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-timeout: 301
+timeout: 150
# global system props for all service
systemProps:
@@ -65,8 +65,9 @@ services:
waitPortsBeforeRun:
- zookeeper:2181
- seata-mysql:3306
- expose:
+ checkPorts:
- 20882
+ checkLog: 'storage service started'
depends_on:
- seata-mysql
- seata-server
@@ -82,8 +83,9 @@ services:
waitPortsBeforeRun:
- zookeeper:2181
- seata-mysql:3306
- expose:
+ checkPorts:
- 20881
+ checkLog: 'account service started'
depends_on:
- seata-mysql
- seata-server
@@ -99,8 +101,9 @@ services:
waitPortsBeforeRun:
- zookeeper:2181
- seata-mysql:3306
- expose:
+ checkPorts:
- 20883
+ checkLog: 'order service started'
depends_on:
- seata-mysql
- seata-server
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org