Tests: increase default "read_timeout" to 60s in message_read().

This commit is contained in:
Andrei Zeliankou
2020-03-27 15:48:39 +00:00
parent c63b498f94
commit 5f2d07019c

View File

@@ -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']: