diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-11-04 23:47:41 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-11-04 23:54:28 -0800 |
commit | c59dad8b8cca7087860e64d161250ab09edb14e9 (patch) | |
tree | 2d89379ac05db14b88593b5492533570beddff6f /test/exec/test_exec.rb | |
parent | 0ab37e1f493c792e7c21086116adff1a63bf3ff8 (diff) | |
download | unicorn-c59dad8b8cca7087860e64d161250ab09edb14e9.tar.gz |
The relative working_directory test runs so quickly that the master may not even have signal handlers setup by the time we're done with it. The proper way would be to not start workers until the master is ready, but that breaks some test cases horribly.
Diffstat (limited to 'test/exec/test_exec.rb')
-rw-r--r-- | test/exec/test_exec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/exec/test_exec.rb b/test/exec/test_exec.rb index 28ba24c..f6dfd6a 100644 --- a/test/exec/test_exec.rb +++ b/test/exec/test_exec.rb @@ -159,6 +159,7 @@ EOF assert_equal "#{pid}\n", File.read("#{other.path}/pid_file_here") assert File.exist?("#{other.path}/stderr_log_here") assert File.exist?("#{other.path}/stdout_log_here") + wait_master_ready("#{other.path}/stderr_log_here") Process.kill(:QUIT, pid) ensure |