Skip to content

Commit 33fd334

Browse files
committed
Another brittle supervisor test.
1 parent e30b1fb commit 33fd334

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/concurrent/supervisor_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,7 @@ def mock_thread(status = 'run')
440440
busy_supervisor.count.stopped.should eq total_count
441441
busy_supervisor.run!
442442
stoppers.each{|stopper| stopper.latch.wait(1) }
443+
sleep(0.1)
443444

444445
busy_supervisor.count.stopped.should eq stopped_count
445446
end

0 commit comments

Comments
 (0)