From ca5ea5f0295584b6458b27c97e96123316b039be Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Tue, 27 Feb 2018 16:26:48 -0800 Subject: [PATCH] Use ACMEv2 endpoint if requested --- tests/integration/_common.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/integration/_common.sh b/tests/integration/_common.sh index d151bdc3f..61fbad772 100755 --- a/tests/integration/_common.sh +++ b/tests/integration/_common.sh @@ -16,6 +16,11 @@ certbot_test () { "$@" } +# Use local ACMEv2 endpoint if requested and SERVER isn't already set. +if [ "$BOULDER_INTEGRATION" = "v2" -a -z "$SERVER" ]; then + SERVER="http://localhost:4001/directory" +fi + certbot_test_no_force_renew () { omit_patterns="*/*.egg-info/*,*/dns_common*,*/setup.py,*/test_*,*/tests/*" omit_patterns="$omit_patterns,*_test.py,*_test_*,"