Fix cloud integration workflow (#4750)

The `tests` variable wasn't being properly initialized, which resulted
in the `helm-deep` tests being repeated, and without cleanup in between,
the attempt to create resources that were already there caused an error.
This commit is contained in:
Alejandro Pedraza 2020-07-13 16:44:20 -05:00 committed by GitHub
parent f49b40c4a9
commit 2e4b6cc782
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -332,6 +332,7 @@ run_uninstall_test() {
}
run_deep_test() {
local tests=()
run_test "$test_directory/install_test.go" --multicluster
while IFS= read -r line; do tests+=("$line"); done <<< "$(go list "$test_directory"/.../...)"
for test in "${tests[@]}"; do
@ -340,6 +341,7 @@ run_deep_test() {
}
run_helm-deep_test() {
local tests=()
setup_helm
helm_multicluster_chart="$( cd "$bindir"/.. && pwd )"/charts/linkerd2-multicluster
run_test "$test_directory/install_test.go" --helm-path="$helm_path" --helm-chart="$helm_chart" \