mirror of
https://github.com/osrg/gobgp.git
synced 2024-05-11 05:55:10 +00:00
test: retry docker removal when failed
Signed-off-by: ISHIDA Wataru <[email protected]>
This commit is contained in:
@@ -179,7 +179,7 @@ class Container(object):
|
||||
return 0
|
||||
|
||||
def stop(self):
|
||||
ret = local("docker rm -f " + self.docker_name(), capture=True)
|
||||
ret = try_several_times(lambda : local("docker rm -f " + self.docker_name(), capture=True))
|
||||
self.is_running = False
|
||||
return ret
|
||||
|
||||
|
||||
Reference in New Issue
Block a user