Add some waiting time

This commit is contained in:
cytopia
2018-03-04 13:53:21 +01:00
parent a861adbff1
commit c916e9e589

View File

@@ -42,6 +42,9 @@ if ! run "docker logs ${did} 2>&1 | grep 'Forwarding ${mname}:3306'"; then
exit 1
fi
# Wait for both containers to come up
run "sleep 10"
# Test connectivity
docker_exec "${did}" "ping -c 1 ${mname}"
docker_exec "${did}" "echo | nc -w 1 ${mname} 3306"