diff options
| -rwxr-xr-x | tests/e2e/check_ip | 5 | ||||
| -rwxr-xr-x | tests/e2e/e2e-test-vpn.sh | 2 | 
2 files changed, 4 insertions, 3 deletions
diff --git a/tests/e2e/check_ip b/tests/e2e/check_ip index b915d27e..4b903251 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 7675edd2..f3aecd9f 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'  | 
