Commit 1624c6f
test(celery): skip beat-cron tests on py3.7, drop debug code
After moving py3.6/3.7 jobs into the python:X.Y container, the three beat
tests (test_explanation, test_beat_task_crons_success/error) hang in
celery's start_worker on py3.7 only — kombu's pre-connect via
default_channel never returns. This is a known kombu/redis-py + os.fork
interaction on the old pin (kombu 4.6 + redis-py <3.2) that celery 4.4.7
ships with; it worked previously only because the broker was on loopback,
not a bridged sibling container.
Bumping the existing < (3, 7) skip to < (3, 8). py3.7 is EOL and the same
tests run fine on 3.8+. Also dropping the diagnostic faulthandler
conftest and the kill_beat exception-printing wrapper now that the
root cause is understood; the pidfile-wait fix in kill_beat is kept since
it's a legitimate startup-race fix.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 2dce8f7 commit 1624c6f
3 files changed
Lines changed: 24 additions & 53 deletions
File tree
- tests/integrations/celery/integration_tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | | - | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
| |||
31 | 29 | | |
32 | 30 | | |
33 | 31 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 32 | + | |
| 33 | + | |
40 | 34 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
61 | 45 | | |
62 | 46 | | |
63 | 47 | | |
| |||
This file was deleted.
Lines changed: 12 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 26 | | |
33 | 27 | | |
34 | 28 | | |
| |||
59 | 53 | | |
60 | 54 | | |
61 | 55 | | |
62 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
63 | 60 | | |
64 | 61 | | |
65 | 62 | | |
| |||
98 | 95 | | |
99 | 96 | | |
100 | 97 | | |
101 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
135 | 138 | | |
136 | 139 | | |
137 | 140 | | |
| |||
0 commit comments