Commit 96fda10d authored by Jonathon Duerig's avatar Jonathon Duerig

Quick fix for a race condition in the auto-framework. This makes the race...

Quick fix for a race condition in the auto-framework. This makes the race condition happen less, but it still happens. The real solution is to have the stub daemon-ize itself just before it is ready to accept connections.
parent 342f09eb
......@@ -10,6 +10,12 @@ ARGS=$*
echo "Waiting for stubs to become ready";
barrier_wait "stub";
#
# Potential race condition here? The monitor cannot connect to the
# stub, and the problem is flaky -JD
#
sleep 1
#
# Start up our own monitor
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment