diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-11-09 13:58:36 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-11-09 16:10:38 -0800 |
commit | cf5ba246ac045101a591bbcba57027e7fc5f492b (patch) | |
tree | 0541909c8d7f5fe3f5260002ff141cb2c4131fd1 /t/t0004-heartbeat-timeout.sh | |
parent | f8c283b855eadc18c8f531a8bb2363a4050c9436 (diff) | |
download | rainbows-cf5ba246ac045101a591bbcba57027e7fc5f492b.tar.gz |
It seems possible to have a race condition here with the FIFO being overloaded for both start detection and blocking. Since SIGSTOP is unavoidable, just use that instead and sleep immediately afterwards in case SIGSTOP is not processed in time.
Diffstat (limited to 't/t0004-heartbeat-timeout.sh')
-rwxr-xr-x | t/t0004-heartbeat-timeout.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0004-heartbeat-timeout.sh b/t/t0004-heartbeat-timeout.sh index 578f619..d7a54a7 100755 --- a/t/t0004-heartbeat-timeout.sh +++ b/t/t0004-heartbeat-timeout.sh @@ -7,7 +7,7 @@ t_begin "setup and startup" && { rainbows_setup $model echo timeout 3 >> $unicorn_config echo preload_app true >> $unicorn_config - FIFO_PATH=$fifo rainbows -D heartbeat-timeout.ru -c $unicorn_config + rainbows -D heartbeat-timeout.ru -c $unicorn_config rainbows_wait_start } |