mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
Add flaky to a queue related test.
This is a flaky, the queue tasks status might remain "Running" even if it had already been completed, beside sometimes I also noticed it raise a pytest fixture error.
This commit is contained in:
@@ -64,6 +64,7 @@ def test_celery_logs(
|
||||
assert "failed to reproduce 'failed-copy-file'" in captured.out
|
||||
|
||||
|
||||
@pytest.mark.flaky(rerun=3)
|
||||
def test_queue_remove_done(dvc, failed_tasks, success_tasks):
|
||||
assert len(dvc.experiments.celery_queue.failed_stash) == 3
|
||||
status = to_dict(dvc.experiments.celery_queue.status())
|
||||
|
||||
Reference in New Issue
Block a user