From cc68a07af4cab7b48233680996d2913fb0ba5e24 Mon Sep 17 00:00:00 2001 From: Takashi Matsuo Date: Fri, 5 Jun 2020 01:56:44 +0000 Subject: [PATCH] wait longer for the server to spin up --- appengine/flexible/websockets/main_test.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/appengine/flexible/websockets/main_test.py b/appengine/flexible/websockets/main_test.py index a03c3250b146..05f8b816dbde 100644 --- a/appengine/flexible/websockets/main_test.py +++ b/appengine/flexible/websockets/main_test.py @@ -42,8 +42,11 @@ def server(): stderr=subprocess.PIPE ) + # With btlr, there can be many processes are spawned and the + # server might be in a tight memory situation, so let's wait for 2 + # mins. # Wait until the server responds before proceeding. - @retry(wait_fixed=50, stop_max_delay=5000) + @retry(wait_fixed=50, stop_max_delay=120000) def check_server(url): requests.get(url)