diff options
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-x | smoketest/scripts/cli/test_service_tftp-server.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_service_tftp-server.py b/smoketest/scripts/cli/test_service_tftp-server.py index 122d66d8c..642b6af88 100755 --- a/smoketest/scripts/cli/test_service_tftp-server.py +++ b/smoketest/scripts/cli/test_service_tftp-server.py @@ -56,6 +56,7 @@ class TestServiceTFTPD(VyOSUnitTestSHIM.TestCase): while count < 10: count += 1 tmp = process_named_running(PROCESS_NAME) + print(tmp) if tmp: break sleep(1) self.assertTrue(tmp) @@ -147,7 +148,13 @@ class TestServiceTFTPD(VyOSUnitTestSHIM.TestCase): self.assertIn('--create --umask 000', config) # Check for process in VRF - tmp = cmd(f'ip vrf pids {vrf}') + count = 0 + while count < 10: + count += 1 + tmp = cmd(f'ip vrf pids {vrf}') + print(tmp) + if tmp: break + sleep(1) self.assertIn(PROCESS_NAME, tmp) # delete VRF |