Temporary cleanup remove_container method in Rally job

Change-Id: I9979b69446615e2bdbcdb0c7ad0dc5858925a36a
Closes-Bug: #1646005
This commit is contained in:
Dongcan Ye 2016-11-30 15:12:29 +08:00
parent 99e87fba38
commit 8e7f70db47
1 changed files with 5 additions and 2 deletions

View File

@ -71,9 +71,12 @@ class Kuryr(utils.KuryrScenario):
def start_and_stop_containers(self, container_create_args=None):
"""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.
"""
container_id = self._start_container(container_create_args or {})
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)