summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-01-23 23:07:07 +0100
committerKali Kaneko <kali@leap.se>2018-01-25 01:19:22 +0100
commitcbfd0dc8873fbfb604782faded94fc77a7ab9430 (patch)
tree79e31adeed20f9a316fa36104b3acf2dd35f8f3c /tests
parent26d3badc31655e2258f54dbcaf0bdca5f8623e69 (diff)
[tests] workaround for functional tests in docker
polkit doesn't work inside docker.
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/features/steps/vpn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/features/steps/vpn.py b/tests/functional/features/steps/vpn.py
index 489d4234..be50175d 100644
--- a/tests/functional/features/steps/vpn.py
+++ b/tests/functional/features/steps/vpn.py
@@ -22,7 +22,7 @@ def apply_dns_workaround():
resolv = commands.getoutput('cat /etc/resolv.conf')
print("original resolv.conf: %s" % resolv)
result = commands.getoutput(
- 'echo "nameserver 10.42.0.1" > /etc/resolv.conf')
+ 'echo "nameserver 10.41.0.1" > /etc/resolv.conf')
resolv2 = commands.getoutput('cat /etc/resolv.conf')
print("changed resolv.conf: %s" % resolv2)
print("Workaround OK")