From d5ee5bf20bba44f0dea9ea1c581f701d290c64be Mon Sep 17 00:00:00 2001 From: Zach Margolis Date: Mon, 1 Nov 2021 09:01:51 -0700 Subject: [PATCH] Increase number of email checks for smoke tests * Should add ~15 seconds more every time we check --- spec/support/monitor/monitor_email_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/support/monitor/monitor_email_helper.rb b/spec/support/monitor/monitor_email_helper.rb index 64a71e6c471..75050c51ec7 100644 --- a/spec/support/monitor/monitor_email_helper.rb +++ b/spec/support/monitor/monitor_email_helper.rb @@ -68,7 +68,7 @@ def to_local_url(url) end.to_s end - def check_and_sleep(count: 10, sleep_duration: 3) + def check_and_sleep(count: 15, sleep_duration: 3) count.times do result = yield