Skip to content

Commit 4bdf364

Browse files
committed
RUBY-1104 Give JRuby a chance to restart the thread
1 parent d08941b commit 4bdf364

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/mongo/cluster/cursor_reaper_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@
205205
reaper.run!
206206
reaper.stop!
207207
reaper.restart!
208+
sleep(0.5)
208209
reaper.instance_variable_get(:@thread)
209210
end
210211

0 commit comments

Comments
 (0)