diff options
author | Koichi Sasada <[email protected]> | 2025-03-05 05:16:13 +0900 |
---|---|---|
committer | Koichi Sasada <[email protected]> | 2025-03-05 05:45:54 +0900 |
commit | 46f3d82f40535235f9fcda2d804fc564314f4e87 (patch) | |
tree | 5c5af5d9aefa330bed93b5009bcb15b199348dba | |
parent | 15ee45080133c19d167760d577d72540a9db0ec9 (diff) |
Revert "try to show timeout sec"
This reverts commit ce66eea167847d4300150791bde4932b907b0cc0.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12851
-rw-r--r-- | test/test_timeout.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/test/test_timeout.rb b/test/test_timeout.rb index a8bc97dee4..01156867b0 100644 --- a/test/test_timeout.rb +++ b/test/test_timeout.rb @@ -274,20 +274,4 @@ class TestTimeout < Test::Unit::TestCase }.join end; end - - # TODO: remove it - require 'envutil' - - def test_timeout_scale - scale = ENV['RUBY_TEST_TIMEOUT_SCALE']&.to_f - sec = 5 - - if scale - assert_equal sec * scale, EnvUtil.apply_timeout_scale(sec) - else - assert_equal sec, EnvUtil.apply_timeout_scale(sec) - end - - STDERR.puts [scale, sec, EnvUtil.apply_timeout_scale(sec)].inspect - end end |