mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
Fix flaky test.
This commit is contained in:
parent
01d1cbbbec
commit
2df72c0c1a
Notes:
git
2025-12-24 01:30:03 +00:00
@ -497,7 +497,7 @@ class IOScheduler < Scheduler
|
||||
fd = io.fileno
|
||||
str = buffer.get_string
|
||||
__io_ops__ << [:io_write, fd, str]
|
||||
Fiber.blocking { buffer.write(IO.for_fd(fd), 0, offset) }
|
||||
Fiber.blocking { buffer.write(io, 0, offset) }
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@ -287,7 +287,6 @@ class TestFiberScheduler < Test::Unit::TestCase
|
||||
end
|
||||
|
||||
def test_io_write_on_flush
|
||||
omit "skip this test because it makes CI fragile"
|
||||
begin
|
||||
fn = File.join(Dir.tmpdir, "ruby_test_io_write_on_flush_#{SecureRandom.hex}")
|
||||
write_fd = nil
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user