Skip to content

Commit fb1b63f

Browse files
committed
RUBY-1104 Give the cursor reaper thread a chance to stop in test
1 parent 4bdf364 commit fb1b63f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/mongo/cluster/cursor_reaper_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@
204204
let(:thread) do
205205
reaper.run!
206206
reaper.stop!
207-
reaper.restart!
208207
sleep(0.5)
208+
reaper.restart!
209209
reaper.instance_variable_get(:@thread)
210210
end
211211

0 commit comments

Comments
 (0)