Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

test: Wait for Docker to start before using it #1193

Merged
merged 1 commit into from
Mar 8, 2015
Merged

Conversation

lmars
Copy link
Contributor

@lmars lmars commented Mar 8, 2015

Tests were intermittently failing in CI with:

dial unix /var/run/docker.sock: no such file or directory

Closes #1102
Closes #1104

main() {
start=$(date +%s)
while ! [[ -S /var/run/docker.sock ]]; do
echo "++ $(timestamp) Docker not running, waiting..."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this echo is necessary.

Tests were intermittently failing in CI with:

dial unix /var/run/docker.sock: no such file or directory

Signed-off-by: Lewis Marshall <lewis@lmars.net>
@titanous
Copy link
Contributor

titanous commented Mar 8, 2015

LGTM

lmars added a commit that referenced this pull request Mar 8, 2015
test: Wait for Docker to start before using it
@lmars lmars merged commit f6a7bc0 into master Mar 8, 2015
@lmars lmars deleted the test-wait-for-docker branch March 8, 2015 02:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sending build context to Docker daemon fails ReleaseSuite.TestReleaseImages: failed to run command
2 participants