Sometimes when controller process cleanup happens concurrently with testbed teardown...
authorClaudio-Daniel Freire <claudio-daniel.freire@inria.fr>
Tue, 3 May 2011 11:05:55 +0000 (13:05 +0200)
committerClaudio-Daniel Freire <claudio-daniel.freire@inria.fr>
Tue, 3 May 2011 11:05:55 +0000 (13:05 +0200)
commit552a2b6824a9e07fa6a5189bc7404fed12378d55
tree63c98a704af98c8af5b6c6e611c1436d02f8fb8a
parentf0cc9158e40298f7039fc893da3b5a5ce210f655
Sometimes when controller process cleanup happens concurrently with testbed teardown, exceptions may ensue in shutil.rmtree.
Just catch them and retry, sidestepping the issue. Proper synchronization is not easy, and not worth the amount of work for mere testing.
test/core/integration.py
test/testbeds/netns/execute.py
test/testbeds/netns/integration.py
test/testbeds/ns3/execute.py
test/testbeds/ns3/execute2.py
test/testbeds/ns3/integration.py
test/testbeds/planetlab/execute.py
test/testbeds/planetlab/integration.py
test/util/server.py