Skip failing test on FreeBSD [ci skip]
This commit is contained in:
parent
420f3ced4d
commit
20d4168250
@ -1407,7 +1407,7 @@ class TestFileExhaustive < Test::Unit::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_flock_exclusive
|
def test_flock_exclusive
|
||||||
omit "[Bug #18613]" if /freebsd/=~ RUBY_PLATFORM
|
omit "[Bug #18613]" if /freebsd/ =~ RUBY_PLATFORM
|
||||||
|
|
||||||
timeout = EnvUtil.apply_timeout_scale(0.1).to_s
|
timeout = EnvUtil.apply_timeout_scale(0.1).to_s
|
||||||
File.open(regular_file, "r+") do |f|
|
File.open(regular_file, "r+") do |f|
|
||||||
@ -1438,6 +1438,8 @@ class TestFileExhaustive < Test::Unit::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_flock_shared
|
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(0.1).to_s
|
||||||
File.open(regular_file, "r+") do |f|
|
File.open(regular_file, "r+") do |f|
|
||||||
f.flock(File::LOCK_SH)
|
f.flock(File::LOCK_SH)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user