TestRequire#test_loading_fifo_fd_leak: Extend the timeout limit
This commit is contained in:
parent
7944710ed4
commit
b9b207f388
@ -847,7 +847,7 @@ class TestRequire < Test::Unit::TestCase
|
|||||||
f.close
|
f.close
|
||||||
File.unlink(f.path)
|
File.unlink(f.path)
|
||||||
File.mkfifo(f.path)
|
File.mkfifo(f.path)
|
||||||
assert_separately(["-", f.path], "#{<<~"begin;"}\n#{<<~"end;"}", timeout: 3)
|
assert_separately(["-", f.path], "#{<<~"begin;"}\n#{<<~"end;"}", timeout: 10)
|
||||||
begin;
|
begin;
|
||||||
th = Thread.current
|
th = Thread.current
|
||||||
Thread.start {begin sleep(0.001) end until th.stop?; th.raise(IOError)}
|
Thread.start {begin sleep(0.001) end until th.stop?; th.raise(IOError)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user