-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
Closed
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
The test_siginterrupt_off test in test_signal expects a timeout and uses support.SHORT_TIMEOUT.
In at least some of the refleak test runners:
- we bump the overall timeout to 200 minutes:
- which adjusts
support.SHORT_TIMEOUTto five minutes - and the test case is run six times
So the test always takes a minimum of 30 minutes.
cpython/Lib/test/test_signal.py
Line 749 in e69d068
| stdout, stderr = process.communicate(timeout=support.SHORT_TIMEOUT) |
cpython/Lib/test/test_signal.py
Lines 775 to 781 in e69d068
| @support.requires_resource('walltime') | |
| def test_siginterrupt_off(self): | |
| # If a signal handler is installed and siginterrupt is called with | |
| # a false value for the second argument, when that signal arrives, it | |
| # does not interrupt a syscall that's in progress. | |
| interrupted = self.readpipe_interrupted(False) | |
| self.assertFalse(interrupted) |
Linked PRs
Metadata
Metadata
Assignees
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error