Skip to content

Commit f433a99

Browse files
committed
Improve flakiness of an instrumentation test
See #602
1 parent f8b609d commit f433a99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/instrumentation_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ class InstrumentationTest < ActiveSupport::TestCase
309309

310310
events = subscribed("enqueue_recurring_task.solid_queue") do
311311
scheduler.start
312-
sleep 1.01
312+
wait_while_with_timeout(1.1.second) { SolidQueue::RecurringExecution.none? }
313313
scheduler.stop
314314
end
315315

0 commit comments

Comments
 (0)