Make the this test less multi-core/scheduler dependent.
---
 test/test_extras_exec_cgi.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test_extras_exec_cgi.rb b/test/test_extras_exec_cgi.rb
index 3c71fd4..c6c5ad6 100644
--- a/test/test_extras_exec_cgi.rb
+++ b/test/test_extras_exec_cgi.rb
@@ -170,7 +170,7 @@ def _blocked_zombie(block_on, rtype)
         assert_match %r{\A\d+\n\z}, body
         exec_pid = body.to_i
         poke_until_dead exec_pid
-        assert_raises(EOFError) { c.read_nonblock(666) }
+        assert_raises(EOFError) { c.readpartial(666) }
       else
         raise "BUG in test, bad rtype"
       end
-- 
EW

--
unsubscribe: [email protected]
archive: https://yhbt.net/yahns-public/

Reply via email to