Skip to content

Commit 8f8eda9

Browse files
author
peterstone2017
committed
Revert "fix host out readlines"
This reverts commit 2e03b3d.
1 parent 2e03b3d commit 8f8eda9

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

azure_functions_worker/testutils.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -899,11 +899,7 @@ def start_webhost(*, script_dir=None, stdout=None):
899899

900900
addr = f'http://{LOCALHOST}:{port}'
901901
health_check_endpoint = f'{addr}/api/ping'
902-
host_out = ""
903-
if stdout is not None and hasattr(stdout,
904-
"readable") and stdout.readable():
905-
host_out = stdout.readlines(100)
906-
902+
host_out = stdout.readlines(100)
907903
for _ in range(5):
908904
try:
909905
r = requests.get(health_check_endpoint,

0 commit comments

Comments
 (0)