1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Subject: Disable mem tests on Debian GNU/Hurd
Author: Alexander Sulfrian <alexander@sulfrian.net>
Forwarded: not-needed
This memory tests are flaky on GNU Hurd. Possible the RSS implementation of
Hurd is different from Linux and the RSS value is not stictly stable.
Index: python-atom/tests/test_mem.py
===================================================================
--- python-atom.orig/tests/test_mem.py
+++ python-atom/tests/test_mem.py
@@ -86,6 +86,7 @@ def atomreftest(cls):
"CI" in os.environ and sys.platform.startswith("darwin"),
reason="Flaky on MacOS CI runners",
)
+@pytest.mark.skipif(sys.platform == "gnu0", reason="Flaky on Debian GNU/Hurd")
@pytest.mark.skipif(PSUTIL_UNAVAILABLE, reason="psutil is not installed")
@pytest.mark.parametrize("label", MEM_TESTS.keys())
def test_mem_usage(label):
|