Skip to content

Commit cabfaa9

Browse files
committed
Extend the timeout of fork-exit bootstraptest
It often fails randomly. http://ci.rvm.jp/results/trunk-yjit@ruby-sp2-noble-docker/5421564 ``` Fstderr output is not empty bootstraptest.test_fork.rb_78_287.rb:16:in 'block in <main>': failed (RuntimeError) from <internal:numeric>:257:in 'Integer#times' from bootstraptest.test_fork.rb_78_287.rb:10:in '<main>' ``` I'm not sure why the frequency of failure has suddenly increased, though.
1 parent b854254 commit cabfaa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bootstraptest/test_fork.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def now = Process.clock_gettime(Process::CLOCK_MONOTONIC)
8484
8585
10.times do
8686
pid = fork{ exit!(0) }
87-
deadline = now + 1
87+
deadline = now + 10
8888
until Process.waitpid(pid, Process::WNOHANG)
8989
if now > deadline
9090
Process.kill(:KILL, pid)

0 commit comments

Comments
 (0)