From 1da7c0e3af3e8328f79d4bae196a63fd5c4b00f1 Mon Sep 17 00:00:00 2001 From: Christian Coffield Date: Thu, 3 Mar 2022 09:29:46 -0500 Subject: [PATCH] E2e test fix (#55) * Update run-e2e-test.sh --- scripts/run-e2e-test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/run-e2e-test.sh b/scripts/run-e2e-test.sh index a2c7960e6..f8152c5a2 100755 --- a/scripts/run-e2e-test.sh +++ b/scripts/run-e2e-test.sh @@ -14,7 +14,7 @@ export GO111MODULE=on export ACK_GINKGO_DEPRECATIONS=1.16.4 export ACK_GINKGO_RC=true -if ! (go get -u github.com/onsi/ginkgo/ginkgo); then +if ! (cd tests/e2e && go mod vendor && go get -u github.com/onsi/ginkgo/ginkgo); then echo "go mod vendor or go get ginkgo error" exit 1 fi @@ -29,7 +29,7 @@ else read -ra OPTS <<<"-v $GINKGO_OPTS" fi -cd tests/e2e && ginkgo "${OPTS[@]}" +cd tests/e2e && ginkgo -mod=mod "${OPTS[@]}" # Checking for test status TEST_PASS=$?