diff --git a/pyproject.toml b/pyproject.toml index 287aae0..2054e1e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,6 @@ test = [ "pytest", "cloudpickle>=2.2.0", "dill>=0.3.5.1", - "pytest-rerunfailures", ] dev = [ "isolate[test]", diff --git a/tests/test_server.py b/tests/test_server.py index e31d0e9..e937c94 100644 --- a/tests/test_server.py +++ b/tests/test_server.py @@ -469,7 +469,7 @@ def test_bridge_connection_reuse( assert fourth_process_pid == third_process_pid -@pytest.mark.flaky(reruns=3) +@pytest.mark.flaky(max_runs=3) def test_bridge_connection_reuse_logs( stub: definitions.IsolateStub, monkeypatch: Any ) -> None: @@ -514,7 +514,7 @@ def print_logs_no_delay(num_lines, should_flush): @pytest.mark.parametrize("num_lines", [0, 1, 10, 100, 1000]) @pytest.mark.parametrize("should_flush", [True, False]) -@pytest.mark.flaky(reruns=3) +@pytest.mark.flaky(max_runs=5) def test_receive_complete_logs( stub: definitions.IsolateStub, monkeypatch: Any,