From 02f48806b4f8e2299cbfb0388b7fb8525d1dcb0a Mon Sep 17 00:00:00 2001 From: kaihlavi Date: Tue, 30 Jul 2019 19:23:52 +0300 Subject: Fix test docker readiness check - add probe_test_docker function to check test docker readiness - minor improvements to docker_run and test docker startup scripts Issue-ID: SDC-2376 Change-Id: If1ee25e8c7850c8e65a520f645ff80c7d5d36373 Signed-off-by: kaihlavi --- test-apis-ci/sdc-api-tests/startup.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'test-apis-ci') diff --git a/test-apis-ci/sdc-api-tests/startup.sh b/test-apis-ci/sdc-api-tests/startup.sh index 349741c353..80faeeac2e 100644 --- a/test-apis-ci/sdc-api-tests/startup.sh +++ b/test-apis-ci/sdc-api-tests/startup.sh @@ -6,9 +6,12 @@ chef-solo -c solo.rb -E ${ENVNAME} rc=$? if [[ $rc != 0 ]]; then - echo "Sanity failed !!!" + echo "Startup failed !!!" exit $rc else - echo "completed successfully :-)" - exit 0 -fi \ No newline at end of file +# Note that the output below is monitored in CSIT by +# sdc/sdc-os-chef/scripts/docker_run.sh +# If this text is changed, docker_run.sh check for sdc-api-tests docker +# startup must be adjusted accordingly! + echo "Startup completed successfully" +fi -- cgit 1.2.3-korg