Temporary cleanup remove_container method in Rally job
Change-Id: I9979b69446615e2bdbcdb0c7ad0dc5858925a36a Closes-Bug: #1646005
This commit is contained in:
parent
99e87fba38
commit
8e7f70db47
|
@ -71,9 +71,12 @@ class Kuryr(utils.KuryrScenario):
|
||||||
def start_and_stop_containers(self, container_create_args=None):
|
def start_and_stop_containers(self, container_create_args=None):
|
||||||
"""Start and stop container on docker network.
|
"""Start and stop container on docker network.
|
||||||
|
|
||||||
Measure the "docker run" , "docker stop" , "docker rm"
|
Measure the "docker run" , "docker stop", "docker rm"
|
||||||
command performance.
|
command performance.
|
||||||
"""
|
"""
|
||||||
container_id = self._start_container(container_create_args or {})
|
container_id = self._start_container(container_create_args or {})
|
||||||
self._stop_container(container_id)
|
self._stop_container(container_id)
|
||||||
self._remove_container(container_id)
|
# TODO(yedongcan) We will hit the Docker bug:
|
||||||
|
# "Unable to remove filesystem - device or resource busy"
|
||||||
|
# Temporary workaround is disable remove_container here.
|
||||||
|
# self._remove_container(container_id)
|
||||||
|
|
Loading…
Reference in New Issue