From a4c4de3cf4cda8c3df7b51ec34b9cdf6e3cf42c2 Mon Sep 17 00:00:00 2001 From: Adam Hill Date: Thu, 14 Feb 2019 00:48:00 -0600 Subject: [PATCH] maybe Signed-off-by: Adam Hill Signed-off-by: Martin Buchleitner --- test/test_bash_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_bash_functions.py b/test/test_bash_functions.py index ed3cc3f..bd77521 100644 --- a/test/test_bash_functions.py +++ b/test/test_bash_functions.py @@ -95,7 +95,7 @@ def test_DNS_Envs_are_secondary_to_setupvars(Docker, Slow, args_env, expected_st Docker.run('echo "PIHOLE_DNS_1={}" >> {}'.format(dns1, setupVars)) if dns2: Docker.run('echo "PIHOLE_DNS_2={}" >> {}'.format(dns2, setupVars)) - assert Docker.run('cat {}'.format(setupVars)).stdout == 'wut' + Slow(lambda: 'PIHOLE_DNS' in Docker.run('cat {}'.format(setupVars)).stdout) # When we run setup dnsmasq during startup of the container function = Docker.run('. /bash_functions.sh ; eval `grep "^setup_dnsmasq " /start.sh`')