spec/node_spec.rb in redis_failover-0.8.7 vs spec/node_spec.rb in redis_failover-0.8.8
- old
+ new
@@ -65,10 +65,10 @@
describe '#wakeup' do
it 'should gracefully stop waiting' do
thread = Thread.new { node.wait }
thread.should be_alive
node.wakeup
- sleep 0.2
+ sleep 2
thread.should_not be_alive
thread.value.should be_nil
end
end