Skip to content

Commit

Permalink
fix websocket tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Takashi Matsuo committed Jun 5, 2020
1 parent 2c1e5f4 commit 93e1635
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 @@ -37,7 +37,10 @@ def server():

bind_to = '127.0.0.1:{}'.format(port)
server = subprocess.Popen(
['gunicorn', '-b', bind_to, '-k' 'flask_sockets.worker', 'main:app'])
['gunicorn', '-b', bind_to, '-k' 'flask_sockets.worker', 'main:app'],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE
)

# Wait until the server responds before proceeding.
@retry(wait_fixed=50, stop_max_delay=5000)
Expand Down

0 comments on commit 93e1635

Please sign in to comment.