Skip to content

Commit

Permalink
Move flaky marker to sync form test
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger committed Dec 13, 2024
1 parent 9f9f99d commit c5f8d68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,6 @@ extra-dependencies = [

]
matrix-name-format = "{variable}-{value}"
# TODO: Remove the `retries` value once we fix flakiness of `test_sync_form_events`
# https://github.com/reactive-python/reactpy-django/issues/272
retries = 5

# Django 4.2
[[tool.hatch.envs.hatch-test.matrix]]
Expand Down
3 changes: 3 additions & 0 deletions tests/test_app/tests/test_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,9 @@ def test_model_form(self):
finally:
os.environ.pop("DJANGO_ALLOW_ASYNC_UNSAFE")

# TODO: Remove the `reruns` value once we fix flakiness of `test_sync_form_events`
# https://github.com/reactive-python/reactpy-django/issues/272
@pytest.mark.flaky(reruns=5)
@navigate_to_page("/form/sync_event/")
def test_sync_form_events(self):
self.page.wait_for_selector("form")
Expand Down

0 comments on commit c5f8d68

Please sign in to comment.