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 c2e4255 commit 86fff42Copy full SHA for 86fff42
test/mri/tests/lib/envutil.rb
@@ -61,8 +61,10 @@ def capture_global_values
61
end
62
63
64
- # TruffleRuby: startup can take longer, especially on highly loaded CI machines
65
- self.timeout_scale = 3 if defined?(::TruffleRuby)
+ # TruffleRuby: startup can take longer, especially on highly loaded CI machines.
+ # Note that EnvUtil.invoke_ruby has a timeout of 10 seconds * the scale.
66
+ # We use 60 * 10 = 600s which is the same as the timeout for ruby/spec in jt.rb.
67
+ self.timeout_scale = 60 if defined?(::TruffleRuby)
68
69
def apply_timeout_scale(t)
70
if scale = EnvUtil.timeout_scale
0 commit comments