fix ACMEv2 tests

This commit is contained in:
Brad Warren 2018-05-09 09:33:17 -07:00
parent f4d01389b2
commit 0f86d23e08

View file

@ -16,11 +16,11 @@ certbot_test () {
"$@"
}
export SERVER=${SERVER:-http://boulder:4000/directory}
# Use local ACMEv2 endpoint if requested and SERVER isn't already set.
if [ "${BOULDER_INTEGRATION:-v1}" = "v2" -a -z "${SERVER:+x}" ]; then
SERVER="http://boulder:4001/directory"
fi
export SERVER=${SERVER:-http://boulder:4000/directory}
certbot_test_no_force_renew () {
omit_patterns="*/*.egg-info/*,*/dns_common*,*/setup.py,*/test_*,*/tests/*"