Skip ionice tests

i8-stream-3.9_bootstrap changed/i8-stream-3.9_bootstrap/python-psutil-5.8.0-4.module_el8+631+48a8c41a.inferit
Arkady L. Shane 9 months ago
parent 0e448c3cdf
commit 40ba1cda07
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -0,0 +1,26 @@
From 3955dee39eff8058f355a79a0000ba0e0ee4974d Mon Sep 17 00:00:00 2001
From: tigro <tigro@msvsphere-os.ru>
Date: Mon, 27 May 2024 17:45:27 +0300
Subject: [PATCH] Skip ionice test
---
psutil/tests/test_process.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/psutil/tests/test_process.py b/psutil/tests/test_process.py
index 0ec2ead..c590674 100755
--- a/psutil/tests/test_process.py
+++ b/psutil/tests/test_process.py
@@ -342,8 +342,7 @@ class TestProcess(PsutilTestCase):
self.assertGreaterEqual(io2[i], 0)
self.assertGreaterEqual(io2[i], 0)
- @unittest.skipIf(not HAS_IONICE, "not supported")
- @unittest.skipIf(not LINUX, "linux only")
+ @unittest.skip("Skip ionice tests")
def test_ionice_linux(self):
p = psutil.Process()
if not CI_TESTING:
--
2.45.1

@ -5,7 +5,7 @@
Name: python-%{srcname} Name: python-%{srcname}
Version: 5.8.0 Version: 5.8.0
Release: 4%{?dist} Release: 4%{?dist}.inferit
Summary: %{sum} Summary: %{sum}
License: BSD License: BSD
@ -28,6 +28,9 @@ Patch1: python-psutil-skip-test-broken-ipv6.patch
# Skip flaky tests # Skip flaky tests
Patch2: python-psutil-skip-flaky-tests.patch Patch2: python-psutil-skip-flaky-tests.patch
# Skip ionice tests
Patch3: 0001-Skip-ionice-test.patch
BuildRequires: make BuildRequires: make
BuildRequires: gcc BuildRequires: gcc
BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-devel
@ -91,6 +94,9 @@ make test CI_TESTING=1 PYTHON=%{__python3} PYTHONPATH=%{buildroot}/%{python3_sit
%changelog %changelog
* Mon May 27 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 5.8.0-4.inferit
- Skip ionice tests
* Fri May 24 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 5.8.0-4 * Fri May 24 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 5.8.0-4
- Rebuilt for MSVSphere 8.10 - Rebuilt for MSVSphere 8.10

Loading…
Cancel
Save