Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
Commitff3cadd
gh-109594: Fix concurrent.futures test_timeout() (GH-110018)Fix test_timeout() of test_concurrent_futures.test_wait. Remove thefuture which may or may not complete depending if it takes longerthan the timeout ot not. Keep the second future which does notcomplete before wait(). Make also the test faster: 0.5 second insteadof 6 seconds, so remove @support.requires_resource('walltime')decorator.(cherry picked from commit9be283e)Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent82dea84 commitff3cadd
File tree
2 files changed
+13
-7
lines changed- Lib/test/test_concurrent_futures
- Misc/NEWS.d/next/Tests
2 files changed
+13
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
120 | 122 | | |
121 | | - | |
122 | | - | |
| 123 | + | |
| 124 | + | |
123 | 125 | | |
124 | 126 | | |
125 | 127 | | |
126 | 128 | | |
127 | | - | |
128 | | - | |
129 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
130 | 132 | | |
131 | 133 | | |
132 | 134 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments
Comments
(0)