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

@@ -81,7 +81,7 @@ Connection: close
)
assert Status.get('/requests/total') == 6, 'pipeline'
(_, sock) = self.get(port=7081, no_recv=True, start=True)
sock = self.get(port=7081, no_recv=True)
time.sleep(1)
@@ -112,7 +112,7 @@ Connection: close
# idle
_, sock = self.http(b'', start=True, raw=True, no_recv=True)
sock = self.http(b'', raw=True, no_recv=True)
self.check_connections(2, 0, 1, 1)
self.get(sock=sock)