diff --git a/99-integration/dubbo-samples-registry-test-nacos-instance/case-configuration.yml b/99-integration/dubbo-samples-registry-test-nacos-instance/case-configuration.yml index 194c1d43ca..f36cbd227b 100644 --- a/99-integration/dubbo-samples-registry-test-nacos-instance/case-configuration.yml +++ b/99-integration/dubbo-samples-registry-test-nacos-instance/case-configuration.yml @@ -25,13 +25,6 @@ services: - MYSQL_USER=nacos - MYSQL_PASSWORD=nacos - MYSQL_ALLOW_EMPTY_PASSWORD=yes - init: - - name: wait-for-mysql - image: busybox - command: - - "/bin/sh" - - "-c" - - "until nc -z nacos-mysql 3306; do sleep 1; done;" expose: - 3306 healthcheck: @@ -71,6 +64,13 @@ services: - ${_basedir}/src/test/resources/nacos-logback-stdout.xml:/home/nacos/conf/nacos-logback.xml depends_on: - nacos-mysql + init: + - name: wait-for-mysql + image: busybox + command: + - "/bin/sh" + - "-c" + - "until nc -z nacos-mysql 3306; do sleep 1; done;" app: type: app