Skip to content

Commit bc62970

Browse files
committed
Improve flakiness of another instrumentation test
1 parent 774cedf commit bc62970

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)