Commit 6060d65
authored
fix: Let OS select an available port when running TestInstalledAppFlow (#407)
tests.unit.test_flow.TestInstalledAppFlow attempts to create a new
server at the specified host:port. New server creation occasionally
results in 'address already in use' because the socket will be
unavailable for a period of time after the socket is closed, resulting
in flaky test failures.
Work around this in the tests by letting the OS pick an available port each time.
Fixes #3811 parent 0b962ed commit 6060d65
1 file changed
+4
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
251 | 250 | | |
252 | 251 | | |
253 | 252 | | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | 253 | | |
259 | 254 | | |
260 | 255 | | |
261 | 256 | | |
262 | 257 | | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
273 | 262 | | |
274 | 263 | | |
275 | 264 | | |
| |||
0 commit comments