Skip to content
Merged
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
4 changes: 2 additions & 2 deletions test/-ext-/thread/test_instrumentation_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def test_thread_pass_multi_thread
thread&.join
end

def test_muti_thread_timeline
def test_multi_thread_timeline
threads = nil
full_timeline = record do
threads = threaded_cpu_bound_work(1.0)
Expand All @@ -68,7 +68,7 @@ def test_muti_thread_timeline
threads.each do |thread|
timeline = timeline_for(thread, full_timeline)
assert_consistent_timeline(timeline)
assert timeline.count(:suspended) > 1, "Expected threads to yield suspended at least once: #{timeline.inspect}"
assert_operator timeline.count(:suspended), :>=, 1, "Expected threads to yield suspended at least once: #{timeline.inspect}"
end

timeline = timeline_for(Thread.current, full_timeline)
Expand Down