Skip to content

Commit

Permalink
Refer vendored deps while testing
Browse files Browse the repository at this point in the history
 - Add `-mod=vendor` flag while invoking e2e tests
  • Loading branch information
navidshaikh committed Nov 12, 2019
1 parent f91ea43 commit bbd55d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openshift/e2e-tests-openshift.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit bbd55d4

Please sign in to comment.