From c5b5c861f6ecfbded0948c8a359e477cd26361de Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 25 Jul 2017 11:29:12 -0400 Subject: [PATCH] extend wait_for in case redis chokes up in test --- spec/support/helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb index 9238cf9771d..93d967ad8d0 100644 --- a/spec/support/helpers.rb +++ b/spec/support/helpers.rb @@ -64,7 +64,7 @@ module Helpers def wait_for(&blk) i = 0 result = false - while !result && i < 300 + while !result && i < 1000 result = blk.call i += 1 sleep 0.001