From 2c36640ad22afab21cbb01e9c2e87d00279465f3 Mon Sep 17 00:00:00 2001 From: KUOKA Yusuke Date: Mon, 27 Aug 2018 23:04:16 +0900 Subject: [PATCH] To reduce integration test flakiness --- test/integration/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/run.sh b/test/integration/run.sh index adc78b6f..e16ad880 100755 --- a/test/integration/run.sh +++ b/test/integration/run.sh @@ -58,7 +58,7 @@ test_start "happypath - simple rollout of httpbin chart" info "Syncing ${dir}/happypath.yaml" ${helmfile} -f ${dir}/happypath.yaml sync wait_deploy_ready httpbin-httpbin -retry 3 "curl --fail $(minikube service --url --namespace=${test_ns} httpbin-httpbin)/status/200" +retry 5 "curl --fail $(minikube service --url --namespace=${test_ns} httpbin-httpbin)/status/200" [ ${retry_result} -eq 0 ] || fail "httpbin failed to return 200 OK" info "Deleting release" ${helmfile} -f ${dir}/happypath.yaml delete @@ -68,4 +68,4 @@ test_pass "happypath" # ALL DONE ----------------------------------------------------------------------------------------------------------- -all_tests_passed \ No newline at end of file +all_tests_passed