Commit 9dedb40
committed
Heal 3.11 coverage tracing in the new dispatcher tests
The new post-close DirectDispatcher test asserts after running_pair's
cancelled task-group join, and several of the new jsonrpc_dispatcher
race tests have a 1-tick join fast path - both shapes hit
python/cpython#106749 on 3.11 (coro.throw() drops the outer-frame
'call' trace events and desyncs CTracer until the next normal resume,
roaming onto unrelated tests on the same xdist worker). Add the
established resync_tracer() heal at each new cancel site.1 parent a27bca7 commit 9dedb40
2 files changed
Lines changed: 10 additions & 0 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
605 | 606 | | |
606 | 607 | | |
607 | 608 | | |
| 609 | + | |
608 | 610 | | |
609 | 611 | | |
610 | 612 | | |
| |||
667 | 669 | | |
668 | 670 | | |
669 | 671 | | |
| 672 | + | |
670 | 673 | | |
671 | 674 | | |
672 | 675 | | |
| |||
706 | 709 | | |
707 | 710 | | |
708 | 711 | | |
| 712 | + | |
709 | 713 | | |
710 | 714 | | |
711 | 715 | | |
| |||
867 | 871 | | |
868 | 872 | | |
869 | 873 | | |
| 874 | + | |
870 | 875 | | |
871 | 876 | | |
872 | 877 | | |
| |||
1072 | 1077 | | |
1073 | 1078 | | |
1074 | 1079 | | |
| 1080 | + | |
1075 | 1081 | | |
1076 | 1082 | | |
1077 | 1083 | | |
| |||
1156 | 1162 | | |
1157 | 1163 | | |
1158 | 1164 | | |
| 1165 | + | |
1159 | 1166 | | |
1160 | 1167 | | |
1161 | 1168 | | |
| |||
1177 | 1184 | | |
1178 | 1185 | | |
1179 | 1186 | | |
| 1187 | + | |
1180 | 1188 | | |
1181 | 1189 | | |
1182 | 1190 | | |
| |||
0 commit comments