bpo-30595: Increase test_queue_feeder_donot_stop_onexc() timeout (GH-… · python/cpython@b60f43a (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 b60f43a
_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. (cherry picked from commit 8f6eeaf)
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 |
---|---|---|
@@ -671,7 +671,8 @@ def __reduce__(self): | ||
671 | 671 | q = self.Queue() |
672 | 672 | q.put(NotSerializable()) |
673 | 673 | q.put(True) |
674 | -self.assertTrue(q.get(timeout=0.1)) | |
674 | +# bpo-30595: use a timeout of 1 second for slow buildbots | |
675 | +self.assertTrue(q.get(timeout=1.0)) | |
675 | 676 | |
676 | 677 | |
677 | 678 | # |