mirror of https://github.com/linkerd/linkerd2.git
30 lines
788 B
Bash
Executable File
30 lines
788 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# This script executes the full suite of integration tests, in series:
|
|
# 1. upgrade_integration_tests
|
|
# 2. helm_integration_tests
|
|
# 3. deep_integration_tests
|
|
|
|
bindir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
. $bindir/_test-run.sh
|
|
|
|
init_test_run "$@"
|
|
|
|
printf "==================RUNNING ALL TESTS==================\\n"
|
|
printf "Testing Linkerd version [%s] namespace [%s] k8s-context [%s]\\n" "$linkerd_version" "$linkerd_namespace" "$k8s_context"
|
|
|
|
upgrade_integration_tests
|
|
helm_integration_tests
|
|
deep_integration_tests
|
|
|
|
if [ $exit_code -eq 0 ]; then
|
|
printf "\\n=== PASS: all tests passed\\n"
|
|
cleanup
|
|
else
|
|
# `cleanup` is not called so that there is a chance to debug the problem
|
|
printf "\\n=== FAIL: at least one test failed\\n"
|
|
fi
|
|
|
|
exit $exit_code
|