From bbd55d4879d15e22cf1b55e5586e432334096bbf Mon Sep 17 00:00:00 2001 From: Navid Shaikh Date: Wed, 13 Nov 2019 00:30:54 +0530 Subject: [PATCH] Refer vendored deps while testing - Add `-mod=vendor` flag while invoking e2e tests --- openshift/e2e-tests-openshift.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openshift/e2e-tests-openshift.sh b/openshift/e2e-tests-openshift.sh index 39da93a245..929bed2d50 100755 --- a/openshift/e2e-tests-openshift.sh +++ b/openshift/e2e-tests-openshift.sh @@ -159,7 +159,7 @@ function run_e2e_tests(){ # Add local dir to have access to built kn export PATH=$PATH:${REPO_ROOT_DIR} export GO111MODULE=on - go_test_e2e -timeout=$E2E_TIMEOUT -parallel=$E2E_PARALLEL ./test/e2e || fail_test + go_test_e2e -timeout=$E2E_TIMEOUT -parallel=$E2E_PARALLEL -mod=vendor ./test/e2e || fail_test return $failed }