Dvc: Investigate flaky tests_open_granular[azure]

Created on 26 Oct 2020  路  4Comments  路  Source: iterative/dvc

tests/func/test_api.py::test_open_granular[azure] seems to be failing sometimes (example). We need to fix it.

bug testing

Most helpful comment

I'll be looking into this issue.

All 4 comments

Looks like it is simply racing a bit. The container is not ready when this is called. Just need to add a flaky decorator.

@efiop, better to wait for and timeout than adding flaky, as rerunning it still has chances of the container not being ready.

I'll be looking into this issue.

@skshetry Great point! Ideally we need some retrying logic in our trees, but that is a much bigger task. Just slapping a flaky decorator should do the trick for now.

Was this page helpful?
0 / 5 - 0 ratings