tractor/tests
Tyler Goodlet 8dd7bc0ba9 Add a `._state._runtime_vars['_registry_addrs']`
Such that it's set to whatever `Actor.reg_addrs: list[tuple]` is during
the actor's init-after-spawn guaranteeing each actor has at least the
registry infos from its parent. Ensure we read this if defined over
`_root._default_lo_addrs` in `._discovery` routines, namely
`.find_actor()` since it's the one API normally used without expecting
the runtime's `current_actor()` to be up.

Update the latest inter-peer cancellation test to use the `reg_addr`
fixture (and thus test this new runtime-vars value via `find_actor()`
usage) since it was failing if run *after* the infected `asyncio` suite
due to registry contact failure.
2025-03-18 13:37:09 -04:00
..
conftest.py Rename fixture `arb_addr` -> `reg_addr` and set the session value globally as `._root._default_lo_addrs` 2025-03-18 13:34:34 -04:00
test_2way.py Move context-streaming operational tests into one mod 2021-12-06 16:45:44 -05:00
test_advanced_faults.py Adjust advanced faults test(s) for absorbed EoCs 2025-03-16 16:06:26 -04:00
test_advanced_streaming.py Tweak some tests for spurious failues 2025-03-16 15:22:01 -04:00
test_cancellation.py Drop now-deprecated deps on modern `trio`/Python 2025-03-16 16:06:24 -04:00
test_child_manages_service_nursery.py Drop now-deprecated deps on modern `trio`/Python 2025-03-16 16:06:24 -04:00
test_clustering.py Add (back) a `tractor._testing` sub-pkg 2025-03-16 15:28:28 -04:00
test_context_stream_semantics.py Add (back) a `tractor._testing` sub-pkg 2025-03-16 15:28:28 -04:00
test_debugger.py Get remaining suites passing.. 2025-03-18 13:34:34 -04:00
test_discovery.py Add (back) a `tractor._testing` sub-pkg 2025-03-16 15:28:28 -04:00
test_docs_examples.py Get remaining suites passing.. 2025-03-18 13:34:34 -04:00
test_infected_asyncio.py Drop now-deprecated deps on modern `trio`/Python 2025-03-16 16:06:24 -04:00
test_inter_peer_cancellation.py Add a `._state._runtime_vars['_registry_addrs']` 2025-03-18 13:37:09 -04:00
test_legacy_one_way_streaming.py Add (back) a `tractor._testing` sub-pkg 2025-03-16 15:28:28 -04:00
test_local.py Add (back) a `tractor._testing` sub-pkg 2025-03-16 15:28:28 -04:00
test_multi_program.py Add (back) a `tractor._testing` sub-pkg 2025-03-16 15:28:28 -04:00
test_pubsub.py Add (back) a `tractor._testing` sub-pkg 2025-03-16 15:28:28 -04:00
test_resource_cache.py Bump timeout on resource cache test a bitty bit. 2025-03-14 14:14:53 -04:00
test_rpc.py Get remaining suites passing.. 2025-03-18 13:34:34 -04:00
test_runtime.py Drop now-deprecated deps on modern `trio`/Python 2025-03-16 16:06:24 -04:00
test_spawning.py Get remaining suites passing.. 2025-03-18 13:34:34 -04:00
test_task_broadcasting.py Port all tests to new `reg_addr` fixture name 2025-03-14 13:42:15 -04:00
test_trioisms.py Drop now-deprecated deps on modern `trio`/Python 2025-03-16 16:06:24 -04:00