about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--t/lib-reopen-logs.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/lib-reopen-logs.sh b/t/lib-reopen-logs.sh
index 813f204..352a789 100644
--- a/t/lib-reopen-logs.sh
+++ b/t/lib-reopen-logs.sh
@@ -18,6 +18,9 @@ EOF
 rainbows -D sleep.ru -c $unicorn_config
 wait_for_pid $pid
 
+# ensure our server is started and responding before signaling
+curl -sSf http://$listen/ >/dev/null
+
 start=$(date +%s)
 for i in $(awk "BEGIN{for(i=0;i<$nr_client;++i) print i}" </dev/null)
 do