diff --git a/test/plugin/containers/jvm-container/docker/run.sh b/test/plugin/containers/jvm-container/docker/run.sh index 0fbb9d9c6..e9f45a43c 100644 --- a/test/plugin/containers/jvm-container/docker/run.sh +++ b/test/plugin/containers/jvm-container/docker/run.sh @@ -72,7 +72,10 @@ export agent_opts="-javaagent:${SCENARIO_HOME}/agent/skywalking-agent.jar -Dskywalking.logging.dir=/usr/local/skywalking/scenario/logs -Xms256m -Xmx256m ${agent_opts}" exec /var/run/${SCENARIO_NAME}/${SCENARIO_START_SCRIPT} 1>/dev/null & -healthCheck ${SCENARIO_HEALTH_CHECK_URL} +for HEALTH_CHECK_URL in ${SCENARIO_HEALTH_CHECK_URL}; +do + healthCheck $HEALTH_CHECK_URL +done echo "To visit entry service" curl -s ${SCENARIO_ENTRY_SERVICE} diff --git a/test/plugin/scenarios/solrj-7.x-scenario/configuration.yml b/test/plugin/scenarios/solrj-7.x-scenario/configuration.yml index 30f1c29f1..40693177a 100644 --- a/test/plugin/scenarios/solrj-7.x-scenario/configuration.yml +++ b/test/plugin/scenarios/solrj-7.x-scenario/configuration.yml @@ -15,7 +15,7 @@ type: jvm entryService: http://localhost:8080/solrj-scenario/case/solrj -healthCheck: http://localhost:8080/solrj-scenario/case/healthcheck +healthCheck: "http://solr-server:8983/solr/mycore/select http://localhost:8080/solrj-scenario/case/healthcheck" startScript: ./bin/startup.sh framework: solrj environment: