Make StreamLit UI less flaky (#17598)
Co-authored-by: thomas <thomas@thomass-MacBook-Pro.local>
This commit is contained in:
parent
c94f1563c4
commit
83f683243d
|
@ -135,7 +135,7 @@ jobs:
|
|||
|
||||
# TODO: we are testing it as `lightning`, so add also version for `lightning_app`
|
||||
- bash: |
|
||||
pip install -e .[test] \
|
||||
pip install -e .[app-dev] \
|
||||
-f https://download.pytorch.org/whl/cpu/torch_stable.html
|
||||
displayName: 'Install Lightning & dependencies'
|
||||
|
||||
|
|
|
@ -19,4 +19,5 @@ def test_custom_work_dependencies_example_cloud() -> None:
|
|||
for log in fetch_logs(["flow"]):
|
||||
if "Custom Work Dependency checker End" in log:
|
||||
has_logs = True
|
||||
print(log)
|
||||
sleep(1)
|
||||
|
|
|
@ -30,6 +30,6 @@ def test_template_streamlit_ui_example_cloud() -> None:
|
|||
has_logs = False
|
||||
while not has_logs:
|
||||
for log in fetch_logs():
|
||||
if "0: Hello World!" in log:
|
||||
if "Hello World!" in log:
|
||||
has_logs = True
|
||||
sleep(1)
|
||||
|
|
Loading…
Reference in New Issue