Skip flaky test test_faulthandler.py::test_timeout[True]
It occasionally crashes on CI, the reason seems out of our control, or at least we can't figure it out.
This commit is contained in:
parent
413ca8a4d0
commit
5a5fd01ebe
|
@ -49,8 +49,16 @@ def test_disabled(testdir):
|
|||
assert result.ret == 0
|
||||
|
||||
|
||||
@pytest.mark.parametrize("enabled", [True, False])
|
||||
def test_timeout(testdir, enabled):
|
||||
@pytest.mark.parametrize(
|
||||
"enabled",
|
||||
[
|
||||
pytest.param(
|
||||
True, marks=pytest.mark.skip(reason="sometimes crashes on CI (#7022)")
|
||||
),
|
||||
False,
|
||||
],
|
||||
)
|
||||
def test_timeout(testdir, enabled: bool) -> None:
|
||||
"""Test option to dump tracebacks after a certain timeout.
|
||||
If faulthandler is disabled, no traceback will be dumped.
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue