Browse Source

Clear previous dns entries before adding a new entry

pull/643/head
Tim Kimber 5 years ago
parent
commit
2863e9e52d
No known key found for this signature in database GPG Key ID: 3E1804964E76BD18
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      test/test_helper.bash

+ 2
- 0
test/test_helper.bash View File

@ -64,6 +64,8 @@ setup_environment() {
fi
if [ -z "$STAGING" ]; then
# Make sure that we have cleared any previous entries, otherwise get random dns failures
curl --silent -X POST -d '{"host":"'"$GETSSL_HOST"'"}' http://10.30.50.3:8055/clear-a
curl --silent -X POST -d '{"host":"'"$GETSSL_HOST"'", "addresses":["'"$GETSSL_IP"'"]}' http://10.30.50.3:8055/add-a
fi
cp ${CODE_DIR}/test/test-config/nginx-ubuntu-no-ssl "${NGINX_CONFIG}"


Loading…
Cancel
Save