To reduce integration test flakiness

This commit is contained in:
KUOKA Yusuke
2018-08-27 23:04:16 +09:00
committed by GitHub
parent faaf172615
commit 2c36640ad2
+2 -2
View File
@@ -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
all_tests_passed