From 27da8a6b7a609801b44438461cd80e25fb48188a Mon Sep 17 00:00:00 2001 From: Yusuke KUOKA Date: Mon, 4 Feb 2019 15:15:56 +0900 Subject: [PATCH] fix integration test --- test/integration/run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/run.sh b/test/integration/run.sh index d49ca07b..570efa15 100755 --- a/test/integration/run.sh +++ b/test/integration/run.sh @@ -57,12 +57,12 @@ trap "{ $kubectl delete namespace ${test_ns}; }" EXIT # remove namespace wheneve test_start "happypath - simple rollout of httpbin chart" info "Diffing ${dir}/happypath.yaml" -helmfile -f ${dir}/happypath.yaml diff --detailed-exitcode +${helmfile} -f ${dir}/happypath.yaml diff --detailed-exitcode code=$? [ ${code} -eq 2 ] || fail "unexpected exit code returned by helmfile diff: ${code}" info "Templating ${dir}/happypath.yaml" -helmfile -f ${dir}/happypath.yaml template +${helmfile} -f ${dir}/happypath.yaml template code=$? [ ${code} -eq 0 ] || fail "unexpected exit code returned by helmfile template: ${code}" @@ -73,7 +73,7 @@ retry 5 "curl --fail $(minikube service --url --namespace=${test_ns} httpbin-htt [ ${retry_result} -eq 0 ] || fail "httpbin failed to return 200 OK" info "Applying ${dir}/happypath.yaml" -helmfile -f ${dir}/happypath.yaml apply +${helmfile} -f ${dir}/happypath.yaml apply code=$? [ ${code} -eq 0 ] || fail "unexpected exit code returned by helmfile apply: ${code}"