spec/monetaspecs.rb in moneta-0.7.12 vs spec/monetaspecs.rb in moneta-0.7.13
- old
+ new
@@ -17147,10 +17147,10 @@
shared_examples_for 'concurrent_increment' do
def increment_thread(name)
Thread.new do
s = new_store
1000.times do |i|
- s.increment('counter')
+ s.increment('counter', 1, :expires => false)
s.store("#{name}#{i}", i.to_s, :expires => false)
sleep 0.01 if i % 100 == 0
end
s.close
end