Skip to content

Commit 5396b18

Browse files
authored
Resolve e2es V3 (#14153)
update
1 parent 784b604 commit 5396b18

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

tests/tests_app_examples/test_boring_app.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ def test_boring_app_example_cloud() -> None:
1313
with run_app_in_cloud(os.path.join(_PROJECT_ROOT, "examples/app_boring/"), app_name="app_dynamic.py") as (
1414
_,
1515
view_page,
16+
fetch_logs,
1617
name,
1718
):
1819

@@ -24,6 +25,9 @@ def check_hello_there(*_, **__):
2425

2526
wait_for(view_page, check_hello_there)
2627

28+
for _ in fetch_logs():
29+
pass
30+
2731
runner = CliRunner()
2832
result = runner.invoke(logs, [name])
2933
lines = result.output.splitlines()

tests/tests_app_examples/test_drive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def test_drive_example_cloud() -> None:
1818

1919
has_logs = False
2020
while not has_logs:
21-
for log in fetch_logs(["flow"]):
21+
for log in fetch_logs():
2222
if "Application End!" in log:
2323
has_logs = True
2424
sleep(1)

0 commit comments

Comments
 (0)