tests creates the workspace files and takes a container from the pool in docker_client_spec.rb repaired

This commit is contained in:
yqbk
2016-05-24 16:03:55 +02:00
parent a4a8b6393d
commit 4df7bc825b

View File

@ -69,6 +69,7 @@ class DockerClient
# todo separate stderr
query_params = 'logs=0&stream=1&' + (stderr ? 'stderr=1' : 'stdout=1&stdin=1')
# Should be hosts instead of ws_hosts, right?
client_params = DockerClient.config['host'] + '/containers/' + @container.id + '/attach/ws?' + query_params
# Headers are required by Docker