Enrich `pytestmark` in `test_inter_peer_cancellation`
- `skipon_spawn_backend('subint')`: expand reason with specific
analysis doc refs + GH issue #379 umbrella link.
- add `track_orphaned_uds_per_test` fixture via `usefixtures` to
blame-attribute UDS sock-file orphans left by SIGKILL cancel
cascades.
(this patch was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code
subint_forkserver_backend
parent
75d5b4cf7b
commit
7d0a53d205
|
|
@ -26,14 +26,30 @@ from tractor._testing import (
|
||||||
|
|
||||||
from .conftest import cpu_scaling_factor
|
from .conftest import cpu_scaling_factor
|
||||||
|
|
||||||
pytestmark = pytest.mark.skipon_spawn_backend(
|
pytestmark = [
|
||||||
|
pytest.mark.skipon_spawn_backend(
|
||||||
'subint',
|
'subint',
|
||||||
reason=(
|
reason=(
|
||||||
'XXX SUBINT GIL-CONTENTION HANGING TEST XXX\n'
|
'XXX SUBINT GIL-CONTENTION HANGING TEST XXX\n'
|
||||||
'See oustanding issue(s)\n'
|
'Inter-peer cancel cascades under '
|
||||||
# TODO, put issue link!
|
'`--spawn-backend=subint` trip the abandoned-subint '
|
||||||
|
'GIL-hostage class — see\n'
|
||||||
|
' - `ai/conc-anal/subint_sigint_starvation_issue.md` '
|
||||||
|
'(GIL-hostage, SIGINT-unresponsive)\n'
|
||||||
|
' - `ai/conc-anal/subint_cancel_delivery_hang_issue.md` '
|
||||||
|
'(sibling: parent parks on dead chan)\n'
|
||||||
|
' - https://github.com/goodboy/tractor/issues/379 '
|
||||||
|
'(subint umbrella)\n'
|
||||||
)
|
)
|
||||||
)
|
),
|
||||||
|
# NOTE, inter-peer cancellation tests stress the
|
||||||
|
# multi-actor cancel cascade which under SIGKILL
|
||||||
|
# leaves UDS sock-files orphaned. Track per-test
|
||||||
|
# for blame attribution.
|
||||||
|
pytest.mark.usefixtures(
|
||||||
|
'track_orphaned_uds_per_test',
|
||||||
|
),
|
||||||
|
]
|
||||||
|
|
||||||
# XXX TODO cases:
|
# XXX TODO cases:
|
||||||
# - [x] WE cancelled the peer and thus should not see any raised
|
# - [x] WE cancelled the peer and thus should not see any raised
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue