Skip ionice tests

i8-beta-stream-3.9 changed/i8-beta-stream-3.9/python-psutil-5.8.0-4.module+el8.9.0+19644+d68f775d.inferit
Arkady L. Shane 9 months ago
parent f2c139768c
commit 14c17267ed
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,8 +94,11 @@ make test CI_TESTING=1 PYTHON=%{__python3} PYTHONPATH=%{buildroot}/%{python3_sit
%changelog %changelog
* Wed Apr 03 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 5.8.0-4 * Mon May 27 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 5.8.0-4.inferit
- Rebuilt for MSVSphere 8.10 beta - Skip ionice tests
* Fri May 24 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 5.8.0-4
- Rebuilt for MSVSphere 8.10
* Fri Jan 15 2021 Tomas Orsava <torsava@redhat.com> - 5.8.0-4 * Fri Jan 15 2021 Tomas Orsava <torsava@redhat.com> - 5.8.0-4
- Convert from Fedora to the python39 module in RHEL8 - Convert from Fedora to the python39 module in RHEL8

Loading…
Cancel
Save