forked from draveness/istio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-organize e2e-suite and reduce retry times (istio#575)
Automatic merge from submit-queue Re-organize e2e-suite and reduce retry times **Release note**: ```release-note none ``` 1. Re-organize test: Remove e2e-smoke tests from presubmit. All four combinations are going to run concurrently after presubmit passed. 2. Since we are using nodeport as ingress ip, there is no need to retry so many times, just wasting time. Usually when a request cannot get response in first three attempts, it's going to fail forever, so there is no value to retry 10 times. Former-commit-id: f01c1ca
- Loading branch information
1 parent
f2b6c98
commit 3664022
Showing
9 changed files
with
61 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,4 +29,4 @@ set -u | |
set -x | ||
|
||
echo 'Running e2e no rbac, no auth Tests' | ||
./prow/e2e.sh | ||
./prow/e2e-suite.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/bin/bash | ||
|
||
# Copyright 2017 Istio Authors | ||
|
||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
|
||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
|
||
####################################################### | ||
# e2e-suite triggered after istio/presubmit succeeded # | ||
####################################################### | ||
|
||
# Exit immediately for non zero status | ||
set -e | ||
# Check unset variables | ||
set -u | ||
# Print commands | ||
set -x | ||
|
||
# Avoid wasting time on getting external IP | ||
E2E_ARGS=(--use_local_cluster) | ||
|
||
if [ "${CI:-}" == 'bootstrap' ]; then | ||
# Test harness will checkout code to directory $GOPATH/src/github.com/istio/istio | ||
# but we depend on being at path $GOPATH/src/istio.io/istio for imports | ||
ln -sf ${GOPATH}/src/github.com/istio ${GOPATH}/src/istio.io | ||
cd ${GOPATH}/src/istio.io/istio | ||
|
||
# bootsrap upload all artifacts in _artifacts to the log bucket. | ||
ARTIFACTS_DIR=${ARTIFACTS_DIR:-"${GOPATH}/src/istio.io/istio/_artifacts"} | ||
LOG_HOST="stackdriver" | ||
PROJ_ID="istio-testing" | ||
E2E_ARGS+=(--test_logs_path="${ARTIFACTS_DIR}" --log_provider=${LOG_HOST} --project_id=${PROJ_ID}) | ||
fi | ||
|
||
echo 'Running Integration Tests' | ||
./tests/e2e.sh ${E2E_ARGS[@]:-} ${@} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters