We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3364612 commit 6f1f679Copy full SHA for 6f1f679
test/io/wait/test_io_wait.rb
@@ -78,7 +78,8 @@ def test_wait_eof
78
ret = nil
79
assert_nothing_raised(Timeout::Error) do
80
q.push(true)
81
- Timeout.timeout(0.1) { ret = @r.wait }
+ t = EnvUtil.apply_timeout_scale(0.1)
82
+ Timeout.timeout(t) { ret = @r.wait }
83
end
84
assert_equal @r, ret
85
ensure
@@ -113,7 +114,8 @@ def test_wait_readable_eof
113
114
115
116
- Timeout.timeout(0.1) { ret = @r.wait_readable }
117
118
+ Timeout.timeout(t) { ret = @r.wait_readable }
119
120
121
0 commit comments