Skip to content

Commit 1222722

Browse files
[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 8ad4646) Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
1 parent 49efc41 commit 1222722

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Lib/test/test_os.py

+3
Original file line numberDiff line numberDiff line change
@@ -4188,6 +4188,9 @@ def test_timerfd_non_blocking(self):
41884188
# confirm if timerfd is readable and read() returns 1 as bytes.
41894189
self.assertEqual(self.read_count_signaled(fd), 1)
41904190

4191+
@unittest.skipIf(sys.platform.startswith('netbsd'),
4192+
"gh-131263: Skip on NetBSD due to system freeze "
4193+
"with negative timer values")
41914194
def test_timerfd_negative(self):
41924195
one_sec_in_nsec = 10**9
41934196
fd = self.timerfd_create(time.CLOCK_REALTIME)

0 commit comments

Comments
 (0)