make SolrJ-testcases stable (#3627)

This commit is contained in:
Daming 2019-10-16 16:43:50 +08:00 committed by 吴晟 Wu Sheng
parent 353c1ba2c6
commit d572e03661
2 changed files with 5 additions and 2 deletions

View File

@ -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}

View File

@ -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: