Skip to content

Commit

Permalink
testing: fixing a typo in e2e.sh for integration tests (#2753)
Browse files Browse the repository at this point in the history
Fixing typo of one equal sign instead of two for integration tests
  • Loading branch information
algojack authored Aug 16, 2021
1 parent 25804af commit 1f05448
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/scripts/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export GOPATH=$(go env GOPATH)
# Change current directory to test/scripts so we can just use ./test.sh to exec.
cd "${SCRIPT_PATH}"

if [ -z $E2E_TEST_FILTER || $E2E_TEST_FILTER="SCRIPTS" ]; then
if [ -z "$E2E_TEST_FILTER" ] || [ "$E2E_TEST_FILTER" == "SCRIPTS" ]; then

./timeout 200 ./e2e_basic_start_stop.sh
duration "e2e_basic_start_stop.sh"
Expand All @@ -125,9 +125,9 @@ if [ -z $E2E_TEST_FILTER || $E2E_TEST_FILTER="SCRIPTS" ]; then
duration "serial client runners"

deactivate
fi # if E2E_TEST_FILTER = "" or = "SCRIPTS"
fi # if E2E_TEST_FILTER == "" or == "SCRIPTS"

if [ -z $E2E_TEST_FILTER || $E2E_TEST_FILTER="GO" ]; then
if [ -z "$E2E_TEST_FILTER" ] || [ "$E2E_TEST_FILTER" == "GO" ]; then
# Export our root temp folder as 'TESTDIR' for tests to use as their root test folder
# This allows us to clean up everything with our rm -rf trap.
export TESTDIR=${TEMPDIR}
Expand All @@ -146,4 +146,4 @@ if [ -z $E2E_TEST_FILTER || $E2E_TEST_FILTER="GO" ]; then
echo "----------------------------------------------------------------------"
echo " DONE: E2E"
echo "----------------------------------------------------------------------"
fi # if E2E_TEST_FILTER = "" or = "GO"
fi # if E2E_TEST_FILTER == "" or == "GO"

0 comments on commit 1f05448

Please sign in to comment.