From 56c6bd3d517e2bac5e4adf3f813c17079547c002 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 5 May 2021 21:23:47 +0200 Subject: smoketest: dns: forwarding: daemon should not run after test is completed --- smoketest/scripts/cli/test_service_dns_forwarding.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'smoketest/scripts/cli') diff --git a/smoketest/scripts/cli/test_service_dns_forwarding.py b/smoketest/scripts/cli/test_service_dns_forwarding.py index 8005eb319..28336fd43 100755 --- a/smoketest/scripts/cli/test_service_dns_forwarding.py +++ b/smoketest/scripts/cli/test_service_dns_forwarding.py @@ -45,6 +45,9 @@ class TestServicePowerDNS(VyOSUnitTestSHIM.TestCase): self.cli_delete(base_path) self.cli_commit() + # Check for running process + self.assertFalse(process_named_running(PROCESS_NAME)) + def test_basic_forwarding(self): # Check basic DNS forwarding settings cache_size = '20' @@ -115,8 +118,8 @@ class TestServicePowerDNS(VyOSUnitTestSHIM.TestCase): tmp = get_config_value('dnssec') self.assertEqual(tmp, option) - # Check for running process - self.assertTrue(process_named_running(PROCESS_NAME)) + # Check for running process + self.assertTrue(process_named_running(PROCESS_NAME)) def test_external_nameserver(self): # Externe Domain Name Servers (DNS) addresses -- cgit v1.2.3