extend wait_for in case redis chokes up in test

This commit is contained in:
Sam 2017-07-25 11:29:12 -04:00
parent 283d42d6f3
commit c5b5c861f6
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ module Helpers
def wait_for(&blk) def wait_for(&blk)
i = 0 i = 0
result = false result = false
while !result && i < 300 while !result && i < 1000
result = blk.call result = blk.call
i += 1 i += 1
sleep 0.001 sleep 0.001