Skip to content

Commit 5ce7f97

Browse files
committed
Scans are throttled to exactly 500ms on JRuby sometimes
1 parent 5b16e61 commit 5ce7f97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/mongo/server/monitor_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
start = Time.now
2323
monitor.scan!
2424
monitor.scan!
25-
expect(Time.now - start).to be > 0.5
25+
expect(Time.now - start).to be >= 0.5
2626
end
2727
end
2828

0 commit comments

Comments
 (0)