Closed carmocca closed 1 year ago
Running tests that use CloudRuntime.dispatch will open a ton of browser tabs.
CloudRuntime.dispatch
This is caused by the open_ui = True default set in https://github.com/Lightning-AI/lightning/pull/15875
open_ui = True
One solution could be to do add an and not _running_tests() condition to https://github.com/Lightning-AI/lightning/blob/c4b27fb69cde2da72876c19184ef7494600ba86a/src/lightning_app/runners/cloud.py#L484
and not _running_tests()
pytest tests/tests_app/runners/test_cloud.py
N/A
current master
No response
cc @borda
cc @ethanwharris @tchaton
Fixed in https://github.com/Lightning-AI/lightning/pull/16114/files#diff-2d6c317d04ba3f0c68eaf887efc70f9b7f8dd241bcfe5fe6888ca07ae2bd38e3R501-R502
Bug description
Running tests that use
CloudRuntime.dispatch
will open a ton of browser tabs.This is caused by the
open_ui = True
default set in https://github.com/Lightning-AI/lightning/pull/15875One solution could be to do add an
and not _running_tests()
condition to https://github.com/Lightning-AI/lightning/blob/c4b27fb69cde2da72876c19184ef7494600ba86a/src/lightning_app/runners/cloud.py#L484How to reproduce the bug
Error messages and logs
N/A
Environment
current master
More info
No response
cc @borda