tractor/tests/discovery
Gud Boi abd3950ba6 Harden `test_registrar` with reap fixtures, timeouts
Add module-level `pytestmark` applying per-test
`reap_subactors_per_test`, `track_orphaned_uds_per_test`, and
`detect_runaway_subactors_per_test` fixtures — registrar tests stress
discovery roundtrips that historically left orphaned UDS sock-files.

Deats,
- drop unused `say_hello()` fn, keep only `say_hello_use_wait`;
  rename param `func` -> `ria_fn`.
- use `@tractor_test(timeout=7)` instead of separate
  `@pytest.mark.timeout(7, method='thread')` decorator.
- add `with_timeout()` helper, wire into
  `test_subactors_unregister_on_cancel_remote_daemon`.
- uncomment `_timeout_main()` in `test_stale_entry_is_deleted`, use
  configurable `timeout` var + `debug_mode` guard for `tractor.pause()`
  on cancel.
- `dump_on_hang(seconds=timeout*2)` instead of hardcoded `20`.
- fix typo "oustanding" -> "outstanding".

(this commit msg was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code
2026-05-11 20:24:41 -04:00
..
__init__.py Add `test_multiaddr.py` suite for `mk_maddr()` 2026-04-14 19:54:14 -04:00
conftest.py Mv `daemon` + `test_multi_program` to `discovery/` 2026-05-06 13:23:42 -04:00
test_multi_program.py Add dup-name cancel-cascade escalation test 2026-05-07 23:33:23 -04:00
test_multiaddr.py Add `parse_endpoints()` to `_multiaddr` 2026-04-14 19:54:14 -04:00
test_registrar.py Harden `test_registrar` with reap fixtures, timeouts 2026-05-11 20:24:41 -04:00
test_tpt_bind_addrs.py Fix `test_registrar_merge_binds_union` for UDS collision 2026-04-14 19:54:15 -04:00