From 40d0b29d44d634defc9fac566890f83ebe16c80d Mon Sep 17 00:00:00 2001 From: Varac Date: Thu, 21 Sep 2017 00:27:47 +0200 Subject: [test] VPN e2e tests now against ci.leap.se Relates to #8918 --- tests/e2e/check_ip | 5 +++-- tests/e2e/e2e-test-vpn.sh | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/e2e/check_ip b/tests/e2e/check_ip index b915d27..4b90325 100755 --- a/tests/e2e/check_ip +++ b/tests/e2e/check_ip @@ -6,6 +6,7 @@ import sys DEMO_ISPS = ('Riseup Networks', 'Leaseweb Deutschland GmbH') +CI_LEAP_SE_ISPS = ('AS47172 Greenhost BV') url = 'https://ipapi.co/json' @@ -28,10 +29,10 @@ try: if cmd == 'vpn_on': print('checking VPN ON...') - assert isp in DEMO_ISPS + assert isp in CI_LEAP_SE_ISPS elif cmd == 'vpn_off': print('checking VPN OFF...') - assert isp not in DEMO_ISPS + assert isp not in CI_LEAP_SE_ISPS else: raise BadCmd() diff --git a/tests/e2e/e2e-test-vpn.sh b/tests/e2e/e2e-test-vpn.sh index 7675edd..f3aecd9 100755 --- a/tests/e2e/e2e-test-vpn.sh +++ b/tests/e2e/e2e-test-vpn.sh @@ -19,7 +19,7 @@ else xtrace=false fi -PROVIDER='demo.bitmask.net' +PROVIDER='ci.leap.se' INVITE_CODE=${BITMASK_INVITE_CODE:?"Need to set BITMASK_INVITE_CODE non-empty"} BCTL='bitmaskctl' -- cgit v1.2.3