diff options
author | Yusuke Endoh <[email protected]> | 2024-08-03 15:42:15 +0900 |
---|---|---|
committer | Yusuke Endoh <[email protected]> | 2024-08-03 16:30:32 +0900 |
commit | b708661313246bb17e349f8f90c663c5e286a1c8 (patch) | |
tree | a45ff0f2549016c70f09745aaf18fa4c235cc4e0 | |
parent | 657f4b99f61a15e21584b87f7b206933d116589b (diff) |
Extend timeout in test/ruby/test_file_exhaustive.rb
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/11307
-rw-r--r-- | test/ruby/test_file_exhaustive.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb index fbb18f07f9..de09811946 100644 --- a/test/ruby/test_file_exhaustive.rb +++ b/test/ruby/test_file_exhaustive.rb @@ -1409,7 +1409,7 @@ class TestFileExhaustive < Test::Unit::TestCase def test_flock_exclusive omit "[Bug #18613]" if /freebsd/ =~ RUBY_PLATFORM - timeout = EnvUtil.apply_timeout_scale(0.1).to_s + timeout = EnvUtil.apply_timeout_scale(1).to_s File.open(regular_file, "r+") do |f| f.flock(File::LOCK_EX) assert_separately(["-rtimeout", "-", regular_file, timeout], "#{<<-"begin;"}\n#{<<-'end;'}") @@ -1440,7 +1440,7 @@ class TestFileExhaustive < Test::Unit::TestCase def test_flock_shared omit "[Bug #18613]" if /freebsd/ =~ RUBY_PLATFORM - timeout = EnvUtil.apply_timeout_scale(0.1).to_s + timeout = EnvUtil.apply_timeout_scale(1).to_s File.open(regular_file, "r+") do |f| f.flock(File::LOCK_SH) assert_separately(["-rtimeout", "-", regular_file, timeout], "#{<<-"begin;"}\n#{<<-'end;'}") |