git://git.onelab.eu
/
nepi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Sometimes when controller process cleanup happens concurrently with testbed teardown...
[nepi.git]
/
test
/
testbeds
/
planetlab
/
integration.py
diff --git
a/test/testbeds/planetlab/integration.py
b/test/testbeds/planetlab/integration.py
index
e7e34d3
..
0edcb1e
100755
(executable)
--- a/
test/testbeds/planetlab/integration.py
+++ b/
test/testbeds/planetlab/integration.py
@@
-18,7
+18,12
@@
class PlanetLabIntegrationTestCase(unittest.TestCase):
self.root_dir = tempfile.mkdtemp()
def tearDown(self):
- shutil.rmtree(self.root_dir)
+ try:
+ shutil.rmtree(self.root_dir)
+ except:
+ # retry
+ time.sleep(0.1)
+ shutil.rmtree(self.root_dir)
def make_experiment_desc(self):
testbed_id = "planetlab"