From 537c7b35b4dd2248aa8bab098f25121d89568604 Mon Sep 17 00:00:00 2001 From: Beata Skiba Date: Tue, 26 Nov 2019 17:40:27 +0100 Subject: [PATCH] Run VPA e2e tests from the e2e dir --- vertical-pod-autoscaler/hack/run-e2e-tests.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/vertical-pod-autoscaler/hack/run-e2e-tests.sh b/vertical-pod-autoscaler/hack/run-e2e-tests.sh index 8b9f949564f..d311b939f83 100755 --- a/vertical-pod-autoscaler/hack/run-e2e-tests.sh +++ b/vertical-pod-autoscaler/hack/run-e2e-tests.sh @@ -47,9 +47,11 @@ export GO111MODULE=on case ${SUITE} in recommender|updater|admission-controller|actuation|full-vpa) export KUBECONFIG=$HOME/.kube/config - go test -mod vendor ${SCRIPT_ROOT}/e2e/v1beta2/*go -v -test.timeout=60m --args --ginkgo.v=true --ginkgo.focus="\[VPA\] \[${SUITE}\]" --report-dir=/workspace/_artifacts --disable-log-dump + pushd ${SCRIPT_ROOT}/e2e + go test -mod vendor ./v1beta2/*go -v -test.timeout=60m --args --ginkgo.v=true --ginkgo.focus="\[VPA\] \[${SUITE}\]" --report-dir=/workspace/_artifacts --disable-log-dump FIRST_RESULT=$? - go test -mod vendor ${SCRIPT_ROOT}/e2e/v1/*go -v -test.timeout=60m --args --ginkgo.v=true --ginkgo.focus="\[VPA\] \[${SUITE}\]" --report-dir=/workspace/_artifacts --disable-log-dump + go test -mod vendor ./v1/*go -v -test.timeout=60m --args --ginkgo.v=true --ginkgo.focus="\[VPA\] \[${SUITE}\]" --report-dir=/workspace/_artifacts --disable-log-dump + popd echo First test result: ${FIRST_RESULT} if [ $FIRST_RESULT -gt 0 ]; then echo "Please check first \"go test\" logs!"