Skip to content

Commit

Permalink
test: another proxy test fix (#1842)
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN authored Feb 7, 2024
1 parent 89c15f4 commit 4bf69ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/tools/http_proxy_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ def stop(self):
lines = []
self._process.terminate()
while self._process.stdout.peek().decode("utf-8").strip() != '':
line = self._process.stdout.read1().decode("utf-8").strip()
print("line: " + line)
line = self._process.stdout.readline().decode("utf-8").strip()
lines.append(line)
return lines

Expand Down

0 comments on commit 4bf69ac

Please sign in to comment.