bpo-30595: Increase test_queue_feeder_donot_stop_onexc() timeout (#2148) · python/cpython@8f6eeaf (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 8f6eeaf
bpo-30595: Increase test_queue_feeder_donot_stop_onexc() timeout (#2148)
_test_multiprocessing.test_queue_feeder_donot_stop_onexc() now uses a timeout of 1 second on Queue.get(), instead of 0.1 second, for slow buildbots.
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -799,7 +799,8 @@ def __reduce__(self): | ||
799 | 799 | q = self.Queue() |
800 | 800 | q.put(NotSerializable()) |
801 | 801 | q.put(True) |
802 | -self.assertTrue(q.get(timeout=0.1)) | |
802 | +# bpo-30595: use a timeout of 1 second for slow buildbots | |
803 | +self.assertTrue(q.get(timeout=1.0)) | |
803 | 804 | |
804 | 805 | # |
805 | 806 | # |