summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2020-03-27 15:48:39 +0000
committerAndrei Zeliankou <zelenkov@nginx.com>2020-03-27 15:48:39 +0000
commit5f2d07019c44855deabfc3f0a83ab7506f0d0183 (patch)
tree2438a112b165a65e2b23cdb255a2965dfd7d380a
parentc63b498f9416d26c1288a86ae4fc0b6007a16142 (diff)
downloadunit-5f2d07019c44855deabfc3f0a83ab7506f0d0183.tar.gz
unit-5f2d07019c44855deabfc3f0a83ab7506f0d0183.tar.bz2
Tests: increase default "read_timeout" to 60s in message_read().
Diffstat (limited to '')
-rw-r--r--test/unit/applications/websockets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/applications/websockets.py b/test/unit/applications/websockets.py
index eaed2ee7..309d37a3 100644
--- a/test/unit/applications/websockets.py
+++ b/test/unit/applications/websockets.py
@@ -221,7 +221,7 @@ class TestApplicationWebsocket(TestApplicationProto):
op_code = self.OP_CONT
pos = end
- def message_read(self, sock, read_timeout=10):
+ def message_read(self, sock, read_timeout=60):
frame = self.frame_read(sock, read_timeout=read_timeout)
while not frame['fin']: