Revert "try to show timeout sec"
This reverts commit ce66eea167847d4300150791bde4932b907b0cc0.
This commit is contained in:
parent
15ee450801
commit
46f3d82f40
Notes:
git
2025-03-04 20:46:12 +00:00
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user