Skip to content

Commit 5079f9c

Browse files
Restyle and run python script in unbuffered mode
1 parent 3622f3a commit 5079f9c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/examples-linux-tv-casting-app.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
Commissioner Generated Passcode
7878
run: |
7979
./scripts/run_in_build_env.sh \
80-
"python3 ./scripts/tests/run_tv_casting_test.py --commissioner-generated-passcode=True"
80+
"python3 -u ./scripts/tests/run_tv_casting_test.py --commissioner-generated-passcode=True"
8181
timeout-minutes: 2 # Comment this out to debug if GitHub Action times out.
8282

8383
- name: Uploading Size Reports

scripts/tests/linux/log_line_processing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def next_output_line(self, timeout_sec=None):
127127
remaining_time = end_time - time.time()
128128
if remaining_time <= 0:
129129
return None
130-
130+
131131
if not self.output_lines.empty():
132132
return self.output_lines.get_nowait()
133133
else:

0 commit comments

Comments
 (0)