You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DockerComposeContainer may exit before the "is running" check #154
I'm running a test in debug mode through IntelliJ and I think the execution is slow enough that the docker-compose process exits successfully before the check for isContainerRunning, so fails with "Container has already stopped."
Activity
rnorth commentedon Jun 5, 2016
Can you think of a way to reliably reproduce this? 😄
haines commentedon Jun 5, 2016
You could chuck a breakpoint in between the container starting and the running check to pause execution until docker-compose has exited?
rnorth commentedon Jun 5, 2016
I was thinking something more like an automated test 😉
But yes, I can use this too.
I suspect that #156 might have resolved this (though it's incomplete) - in any event I'll probably aim to fix this on the #156 branch.
rnorth commentedon Jun 11, 2016
Should be resolved in the #156 branch through use of OneShotStartupCheckStrategy