python-psutil/python-psutil-skip-test-in-konflux.patch
2026-07-02 10:44:24 +02:00

24 lines
754 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Lumir Balhar <lbalhar@redhat.com>
Date: Wed, 02 Jul 2026 08:00:00 +0000
Subject: [PATCH] Skip TestSystemVirtualMemory.test_used incompatible with Konflux
---
psutil/tests/test_linux.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/psutil/tests/test_linux.py b/psutil/tests/test_linux.py
--- a/psutil/tests/test_linux.py
+++ b/psutil/tests/test_linux.py
@@ -246,6 +246,7 @@
self.assertAlmostEqual(
vmstat_value, psutil_value, delta=TOLERANCE_SYS_MEM)
+ @unittest.skip(reason="Does not work in Konflux")
@retry_on_failure()
def test_used(self):
# Older versions of procps used slab memory to calculate used memory.
--
2.51.0