Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/io/wait/test_io_wait.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def test_wait_eof
ret = nil
assert_nothing_raised(Timeout::Error) do
q.push(true)
t = EnvUtil.apply_timeout_scale(0.1)
t = EnvUtil.apply_timeout_scale(1)
Timeout.timeout(t) { ret = @r.wait }
end
assert_equal @r, ret
Expand Down
2 changes: 1 addition & 1 deletion test/ruby/test_fiber.rb
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ def test_create_fiber_in_new_thread
end

def test_machine_stack_gc
assert_normal_exit <<-RUBY, '[Bug #14561]', timeout: 10
assert_normal_exit <<-RUBY, '[Bug #14561]', timeout: 60
enum = Enumerator.new { |y| y << 1 }
thread = Thread.new { enum.peek }
thread.join
Expand Down
2 changes: 1 addition & 1 deletion test/ruby/test_gc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def test_stat_heap_constraints
end

def test_measure_total_time
assert_separately([], __FILE__, __LINE__, <<~RUBY)
assert_separately([], __FILE__, __LINE__, <<~RUBY, timeout: 60)
GC.measure_total_time = false

time_before = GC.stat(:time)
Expand Down
1 change: 1 addition & 0 deletions test/ruby/test_transcode.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2343,6 +2343,7 @@ def test_ractor_lazy_load_encoding
end

def test_ractor_lazy_load_encoding_random
omit 'unstable on s390x and windows' if RUBY_PLATFORM =~ /s390x|mswin/
assert_ractor("#{<<~"begin;"}\n#{<<~'end;'}")
begin;
rs = []
Expand Down
Loading