Skip to content

Commit c5f8d68

Browse files
committed
Move flaky marker to sync form test
1 parent 9f9f99d commit c5f8d68

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

-3
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,6 @@ extra-dependencies = [
9999

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

106103
# Django 4.2
107104
[[tool.hatch.envs.hatch-test.matrix]]

tests/test_app/tests/test_components.py

+3
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,9 @@ def test_model_form(self):
799799
finally:
800800
os.environ.pop("DJANGO_ALLOW_ASYNC_UNSAFE")
801801

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

0 commit comments

Comments
 (0)