aboutsummaryrefslogtreecommitdiff
path: root/src/integration-tests/test_integration_clique.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/integration-tests/test_integration_clique.py.in')
-rwxr-xr-xsrc/integration-tests/test_integration_clique.py.in30
1 files changed, 27 insertions, 3 deletions
diff --git a/src/integration-tests/test_integration_clique.py.in b/src/integration-tests/test_integration_clique.py.in
index 6c7a5d770..eb606c5d9 100755
--- a/src/integration-tests/test_integration_clique.py.in
+++ b/src/integration-tests/test_integration_clique.py.in
@@ -49,9 +49,33 @@ check_timeout = 180
49 49
50 50
51def cleanup (): 51def cleanup ():
52 shutil.rmtree (os.path.join (tmp, "c_bootstrap_server"), True) 52 retries = 10
53 shutil.rmtree (os.path.join (tmp, "c_no_nat_client"), True) 53 path = os.path.join (tmp, "c_bootstrap_server")
54 shutil.rmtree (os.path.join (tmp, "c_no_nat_client_2"), True) 54 test.p ("Removing " + path)
55 while ((os.path.exists(path)) and (retries > 0)):
56 shutil.rmtree ((path), False)
57 time.sleep (1)
58 retries -= 1
59 if (os.path.exists(path)):
60 test.p ("Failed to remove " + path)
61 retries = 10
62 path = os.path.join (tmp, "c_no_nat_client")
63 test.p ("Removing " + path)
64 while ((os.path.exists(path)) and (retries > 0)):
65 shutil.rmtree ((path), False)
66 time.sleep (1)
67 retries -= 1
68 if (os.path.exists(path)):
69 test.p ("Failed to remove " + path)
70 retries = 10
71 path = os.path.join (tmp, "c_no_nat_client_2")
72 test.p ("Removing " + path)
73 while ((os.path.exists(path)) and (retries > 0)):
74 shutil.rmtree ((path), False)
75 time.sleep (1)
76 retries -= 1
77 if (os.path.exists(path)):
78 test.p ("Failed to remove " + path)
55 79
56 80
57def success_cont (check): 81def success_cont (check):