[3.13] gh-131263: Skip test_timerfd_negative on NetBSD to prevent system freeze (GH-131431) (#131451)

gh-131263: Skip test_timerfd_negative on NetBSD to prevent system freeze (GH-131431)
(cherry picked from commit 8ad4646c67)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
This commit is contained in:
Miss Islington (bot) 2025-03-19 12:52:11 +01:00 committed by GitHub
parent 49efc411fa
commit 12227223d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4188,6 +4188,9 @@ def test_timerfd_non_blocking(self):
# confirm if timerfd is readable and read() returns 1 as bytes.
self.assertEqual(self.read_count_signaled(fd), 1)
@unittest.skipIf(sys.platform.startswith('netbsd'),
"gh-131263: Skip on NetBSD due to system freeze "
"with negative timer values")
def test_timerfd_negative(self):
one_sec_in_nsec = 10**9
fd = self.timerfd_create(time.CLOCK_REALTIME)