Remove dead code
a) The custom flag test is now a unit test
b) Although useless, there's no reason to block running the E2E tests against an existing cluster
source $(dirname $0)/../scripts/e2e-tests.sh
-function parse_flags() {
- if [[ "$1" == "--smoke-test-custom-flag" ]]; then
- echo "--smoke-test-custom-flag passed"
- exit 0
- fi
- return 0
-}
-
# Script entry point.
initialize $@
-if (( USING_EXISTING_CLUSTER )); then
- echo "ERROR: this test isn't intended to run against an existing cluster"
- fail_test
-fi
-
start_latest_knative_serving || fail_test "Knative Serving is not up"
# This is actually a unit test, but it does exercise the necessary helper functions.
