summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVarac <varac@leap.se>2017-09-21 00:27:47 +0200
committerRuben Pollan <meskio@sindominio.net>2017-09-21 18:20:10 +0200
commit40d0b29d44d634defc9fac566890f83ebe16c80d (patch)
tree111f43b4fe6c59c3aa855f30e5df7f776d82cc72
parent4cf9ec5d6e9ef4c074c881d630ada6cf8ce79fc9 (diff)
[test] VPN e2e tests now against ci.leap.se0.10rc2
Relates to #8918
-rwxr-xr-xtests/e2e/check_ip5
-rwxr-xr-xtests/e2e/e2e-test-vpn.sh2
2 files changed, 4 insertions, 3 deletions
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'