diff options
| author | Varac <varac@leap.se> | 2017-09-21 00:27:47 +0200 | 
|---|---|---|
| committer | Ruben Pollan <meskio@sindominio.net> | 2017-09-21 18:20:10 +0200 | 
| commit | 40d0b29d44d634defc9fac566890f83ebe16c80d (patch) | |
| tree | 111f43b4fe6c59c3aa855f30e5df7f776d82cc72 | |
| parent | 4cf9ec5d6e9ef4c074c881d630ada6cf8ce79fc9 (diff) | |
[test] VPN e2e tests now against ci.leap.se0.10rc2
Relates to #8918
| -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'  | 
