Skip to content

Commit

Permalink
No proxy for public tests (#183)
Browse files Browse the repository at this point in the history
* add sleep time

* dig only for public

* sensitive data
  • Loading branch information
sandrampeter authored Jul 5, 2022
1 parent 56d3a18 commit c9ddac8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion tests/private-active-active/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ if [[ -z "$skip_init" ]]; then
--proxy socks5://localhost:5000 \
"$admin_url"?token="$iact_token")

echo "$response"
tfe_token=$(echo "$response" | jq --raw-output '.token')
rm -f payload.json

Expand Down
1 change: 0 additions & 1 deletion tests/private-tcp-active-active/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ if [[ -z "$skip_init" ]]; then
--proxy socks5://localhost:5000 \
"$admin_url"?token="$iact_token")

echo "$response"
tfe_token=$(echo "$response" | jq --raw-output '.token')
rm -f payload.json

Expand Down
6 changes: 2 additions & 4 deletions tests/public-active-active/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,15 @@ if [[ -z "$skip_init" ]]; then
--request POST \
"$admin_url"?token="$iact_token")

echo "$response"
tfe_token=$(echo "$response" | jq --raw-output '.token')
rm -f payload.json

echo "export K6_PATHNAME=$k6_path
export TFE_URL=$tfe_url
export TFE_API_TOKEN=$tfe_token
export [email protected]
export http_proxy=socks5://localhost:5000/
export https_proxy=socks5://localhost:5000/" > .env.sh
export [email protected]" > .env.sh
echo "Sleeping for 3 minutes to ensure that both instances are ready."

sleep 180
fi

Expand Down

0 comments on commit c9ddac8

Please sign in to comment.