test/functional/concurrent_base.rb in ruote-2.1.10 vs test/functional/concurrent_base.rb in ruote-2.1.11
- old
+ new
@@ -45,9 +45,10 @@
def gather_msgs
(1..77).to_a.inject({}) { |h, i|
#(i % 10).times { Thread.pass }
sleep 0.001
+ sleep 0.025 # couch :-(
m = peek_msg
h[m['_id']] = m if m
h
}.values.sort { |a, b|
a['put_at'] <=> b['put_at']