aboutsummaryrefslogtreecommitdiff
path: root/src/integration-tests/test_integration_restart.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/integration-tests/test_integration_restart.py.in')
-rwxr-xr-xsrc/integration-tests/test_integration_restart.py.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/integration-tests/test_integration_restart.py.in b/src/integration-tests/test_integration_restart.py.in
index 70d10be24..a14f5ac03 100755
--- a/src/integration-tests/test_integration_restart.py.in
+++ b/src/integration-tests/test_integration_restart.py.in
@@ -61,17 +61,17 @@ def cleanup ():
61 retries -= 1 61 retries -= 1
62 if (os.path.exists(path)): 62 if (os.path.exists(path)):
63 test.p ("Failed to remove " + path) 63 test.p ("Failed to remove " + path)
64 64
65 65
66 retries = 10 66 retries = 10
67 path = os.path.join (tmp, "c_no_nat_client") 67 path = os.path.join (tmp, "c_no_nat_client")
68 test.p ("Removing " + path) 68 test.p ("Removing " + path)
69 while ((os.path.exists(path)) and (retries > 0)): 69 while ((os.path.exists(path)) and (retries > 0)):
70 shutil.rmtree ((path), False) 70 shutil.rmtree ((path), False)
71 time.sleep (1) 71 time.sleep (1)
72 retries -= 1 72 retries -= 1
73 if (os.path.exists(path)): 73 if (os.path.exists(path)):
74 test.p ("Failed to remove " + path) 74 test.p ("Failed to remove " + path)
75 75
76def success_restart_cont (check): 76def success_restart_cont (check):
77 global success 77 global success