test/test_poll.rb in kgio-2.7.3 vs test/test_poll.rb in kgio-2.7.4
- old
+ new
@@ -120,12 +120,10 @@
nr.times { Process.kill(:USR1, ppid); sleep 0.05 }
@wr.syswrite('.')
exit!(0)
end
- assert_nothing_raised do
- empty += 1 until Kgio.poll(set.dup, 100)
- end
+ empty += 1 until Kgio.poll(set.dup, 100)
_, status = Process.waitpid2(pid)
assert status.success?, status.inspect
assert usr1 > 0, "usr1: #{usr1}"
rescue Object => err
p [ :err, err ]