Skip to content

Commit

Permalink
Parameterizes e2e timeout and parallel options values
Browse files Browse the repository at this point in the history
 - Sets defaults to E2E_TIMEOUT=60m and E2E_PARALLEL=1
 - Removes unused variable OLM_NAMESPACE
 - Uniforms settings values for var in e2e script
  • Loading branch information
navidshaikh committed Oct 18, 2019
1 parent 054a704 commit e56bb81
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions openshift/e2e-tests-openshift.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ source $(dirname $0)/../vendor/knative.dev/test-infra/scripts/e2e-tests.sh

set -x

readonly TEST_NAMESPACE=client-tests
readonly TEST_NAMESPACE_ALT=client-tests-alt
readonly TEST_NAMESPACE="client-tests"
readonly TEST_NAMESPACE_ALT="client-tests-alt"
readonly SERVING_RELEASE="release-v0.8.1"
readonly KN_DEFAULT_TEST_IMAGE="gcr.io/knative-samples/helloworld-go"
readonly SERVING_NAMESPACE=knative-serving
readonly SERVICEMESH_NAMESPACE=istio-system
readonly OLM_NAMESPACE="openshift-marketplace"
readonly SERVING_NAMESPACE="knative-serving"
readonly SERVICEMESH_NAMESPACE="istio-system"
readonly E2E_TIMEOUT="60m"
readonly E2E_PARALLEL="1"

env

Expand Down Expand Up @@ -227,7 +228,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=30m -parallel=1 ./test/e2e || fail_test
go_test_e2e -timeout=$E2E_TIMEOUT -parallel=$E2E_PARALLEL ./test/e2e || fail_test
return $failed
}

Expand Down

0 comments on commit e56bb81

Please sign in to comment.