try to fix flaky dvclive test (#6541)

Making sure that script takes a bit more time than the await time
I am not really sure this was the cause though.
Also the tests are flaky only in MacOS, but I haven't been able to reproduce.
This commit is contained in:
Saugat Pachhai
2021-09-06 21:37:34 +05:45
committed by GitHub
parent b8b6ace687
commit 0db0128d28
+1 -1
View File
@@ -249,7 +249,7 @@ def test_dvc_generates_html_during_run(tmp_dir, dvc, mocker, live_stage):
dvclive.log("accuracy", 1/2)
dvclive.next_step()
time.sleep({})""".format(
str(monitor_await_time * 2)
str(monitor_await_time * 10)
)
)
live_stage(summary=True, live="logs", code=script)