make SolrJ-testcases stable (#3627)
This commit is contained in:
parent
353c1ba2c6
commit
d572e03661
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue