Skip to content

Commit

Permalink
wait longer for the server to spin up
Browse files Browse the repository at this point in the history
  • Loading branch information
Takashi Matsuo committed Jun 5, 2020
1 parent b0f666a commit cc68a07
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion appengine/flexible/websockets/main_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit cc68a07

Please sign in to comment.