Repository navigation
Commit ca4b326
committed
test: start embedded Radicale on a free port
Under plain pytest -n 8 several workers each started Radicale on 5232,
and one worker's stop() took down the server another was using. The
xdist_group workaround only helped with --dist loadgroup. caldav 3.7,
already the minimum, honours the port and closes what stop() used to
leak, so the workarounds go.
Prompt: [pick from the task list: "calendaring: embedded Radicale fails to start under pytest -n 8"]
Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>1 parent 31a252f commit ca4b326
2 files changed
Lines changed: 2 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
| 36 | + | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 40 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 41 | | |
48 | 42 | | |
49 | 43 | | |
| |||
53 | 47 | | |
54 | 48 | | |
55 | 49 | | |
56 | | - | |
57 | | - | |
58 | | - | |
| 50 | + | |
59 | 51 | | |
60 | 52 | | |
61 | 53 | | |
| |||
146 | 138 | | |
147 | 139 | | |
148 | 140 | | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | 141 | | |
153 | 142 | | |
154 | 143 | | |
| |||
0 commit comments