Tests: don't try to return response when "no_recv" is True.

This commit is contained in:
Andrei Zeliankou
2022-10-11 13:49:10 +01:00
parent 8d976cac52
commit 8e1e047191
14 changed files with 30 additions and 50 deletions

View File

@@ -1001,14 +1001,13 @@ class TestJavaApplication(TestApplicationJava):
socks = []
for i in range(4):
(_, sock) = self.get(
sock = self.get(
headers={
'Host': 'localhost',
'X-Delay': '2',
'Connection': 'close',
},
no_recv=True,
start=True,
)
socks.append(sock)