Use IO#wait instead to fix test for Ruby 1.9
commit8cc911d4ff667c3f1af28db4c565cdbe22433e34
authorFumiaki MATSUSHIMA <mtsm.fm@gmail.com>
Sat, 24 Feb 2018 07:06:36 +0000 (24 16:06 +0900)
committerEric Wong <e@80x24.org>
Sat, 24 Feb 2018 08:01:30 +0000 (24 08:01 +0000)
tree2bf069fff6968778d50a33ae4f21ee9069cc19f5
parent1e486b788d2dbdf9e28e2d8516ec7b72e2b3190a
Use IO#wait instead to fix test for Ruby 1.9

IO#wait_readable is introduced since 2.0

I confirmed we can pass tests for all versions of Ruby with this patch.

https://github.com/mtsmfm/unicorn/pull/2
test/unit/test_ccc.rb