Skip to content

Commit

Permalink
Fix a bug in test-e2e-kind.sh (#5273)
Browse files Browse the repository at this point in the history
Before this patch, the testbed clean-up was never executed because of a mistake
in the "quit" function. This patch fixes this bug.

Signed-off-by: shi0rik0 <anguuan@outlook.com>
  • Loading branch information
shi0rik0 authored Jul 19, 2023
1 parent c0b9027 commit 2037ff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/kind/test-e2e-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ FLOW_VISIBILITY_YML=$(dirname $0)"/../../build/yamls/flow-visibility-e2e.yml"

function quit {
result=$?
if [[ $setup_only || $test_only ]]; then
if [[ "$setup_only" = true || "$test_only" = true ]]; then
exit $result
fi
echoerr "Cleaning testbed"
Expand Down

0 comments on commit 2037ff5

Please sign in to comment.