Skip to content

Commit

Permalink
attempt rerun celery test to avoid flaky error status
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Dec 4, 2023
1 parent b60f00e commit 484cda2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/functional/test_celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
import tempfile
from typing import TYPE_CHECKING

import pytest

from tests.utils import get_settings_from_testapp, get_test_weaver_app, setup_config_with_mongodb
from weaver.config import WeaverConfiguration
from weaver.database import get_db
Expand All @@ -32,6 +34,7 @@ def get_taskmeta_output(taskmeta_collection, output):
return taskmeta.get("traceback", "") + taskmeta.get("result", "")


@pytest.mark.flaky(reruns=3, reruns_delay=1)
def test_celery_registry_resolution():
python_bin = sys.executable
python_dir = os.path.dirname(python_bin)
Expand Down

0 comments on commit 484cda2

Please sign in to comment.