mirror of
https://github.com/python/cpython.git
synced 2026-01-07 16:02:55 +00:00
[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:
parent
49efc411fa
commit
12227223d1
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue