diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-01-14 18:51:54 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-01-14 20:33:45 +0000 |
commit | c7f4ade8edcfa7422d41c4272250b292b141b427 (patch) | |
tree | f7e408ff035acf4033b81efc103ef26ad2ce6e39 | |
parent | 18db44fe89b8ba61f21b92f6efece37baa8bd6c7 (diff) | |
download | rainbows-c7f4ade8edcfa7422d41c4272250b292b141b427.tar.gz |
normal signals can get lost easily :<
-rw-r--r-- | t/t0050-response-body-close-has-env.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t0050-response-body-close-has-env.sh b/t/t0050-response-body-close-has-env.sh index 4d0cd6f..be16a99 100644 --- a/t/t0050-response-body-close-has-env.sh +++ b/t/t0050-response-body-close-has-env.sh @@ -33,6 +33,8 @@ req_pipelined () { reload () { t_begin 'reloading Rainbows! to ensure writeout' && { + # ensure worker is loaded before HUP + curl -s http://$listen/ >/dev/null # reload to ensure everything is flushed kill -HUP $rainbows_pid test xSTART = x"$(cat $fifo)" @@ -85,7 +87,6 @@ check_log pipe t_begin "enable sendfile gem" && { echo "require 'sendfile'" >> $unicorn_config - curl http://$listen/ >/dev/null # ensure worker is loaded before HUP } reload |