Skip to content

Commit

Permalink
test: reduce the number of reruns
Browse files Browse the repository at this point in the history
  • Loading branch information
jnoortheen committed May 16, 2024
1 parent 734cf39 commit 6e9438e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/completers/test_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def wow(self):
("from pathlib import PosixPath PurePa", {"PurePath"}),
],
)
@pytest.mark.flaky(reruns=5, reruns_delay=2)
@pytest.mark.flaky(reruns=2, reruns_delay=2)
def test_complete_import(command, exp, completer_obj):
result = complete_import(completer_obj.parse(command))
if isinstance(result, tuple):
Expand Down
2 changes: 1 addition & 1 deletion tests/procs/test_specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def test_cmds_to_specs_capture_stdout_not_stderr(thread_subprocs, xonsh_session)
@pytest.mark.parametrize(
"thread_subprocs, capture_always", list(itertools.product((True, False), repeat=2))
)
@pytest.mark.flaky(reruns=5, reruns_delay=2)
@pytest.mark.flaky(reruns=3, reruns_delay=2)
def test_capture_always(
capfd, thread_subprocs, capture_always, alias_type, pipe, monkeypatch, xonsh_session
):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_integrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ def _callme(args):

@skip_if_no_xonsh
@pytest.mark.parametrize("case", ALL_PLATFORMS)
@pytest.mark.flaky(reruns=5, reruns_delay=2)
@pytest.mark.flaky(reruns=3, reruns_delay=2)
def test_script(case):
script, exp_out, exp_rtn = case
out, err, rtn = run_xonsh(script)
Expand Down

0 comments on commit 6e9438e

Please sign in to comment.