tractor/tests
Tyler Goodlet ca3f7a1b6b Add a first serious inter-peer remote cancel suite
Tests that appropriate `Context` exit state, the relay of
a `ContextCancelled` error and its `.canceller: tuple[str, str]` value
are set when an inter-peer cancellation happens via an "out of band"
request method (in this case using `Portal.cancel_actor()` and that
cancellation is propagated "horizontally" to other peers. Verify that
any such cancellation scenario which also experiences an "error during
`ContextCancelled` handling" DOES NOT result in that further error being
suppressed and that the user's exception bubbles out of the
`Context.open_context()` block(s) appropriately!

Likely more tests to come as well as some factoring of the teardown
state checks where possible.

Pertains to serious testing the major work landing in #357
2023-10-18 13:59:08 -04:00
..
conftest.py Handle `mp` spawn method cases in test suite 2023-01-29 14:55:02 -05:00
test_2way.py Move context-streaming operational tests into one mod 2021-12-06 16:45:44 -05:00
test_advanced_faults.py Add a simplified zombie lord specific process reaping test 2023-01-29 14:55:02 -05:00
test_advanced_streaming.py Drop `ReceiveMsgStream` from test suite 2023-01-29 15:03:34 -05:00
test_cancellation.py Expect egs in tests which retreive portal results 2022-10-14 19:42:23 -04:00
test_child_manages_service_nursery.py Add a new "trioisms" test mod for tracking `trio` wishlist behaviour 2022-04-12 13:05:56 -04:00
test_clustering.py Fix cluster test to use `allow_overruns` 2023-05-15 10:00:45 -04:00
test_context_stream_semantics.py Start inter-peer cancellation test mod 2023-10-06 15:44:26 -04:00
test_debugger.py Drop lingering `pdbpp` comment-refs in tests 2023-05-15 09:14:42 -04:00
test_discovery.py Pack tuple keys as . delim strs in registry tests 2022-02-15 08:48:07 -05:00
test_docs_examples.py Skip `advanced_faults/` subset in docs examples tests 2023-01-29 14:55:02 -05:00
test_infected_asyncio.py Adjust aio test for silent cancellation by parent 2023-05-15 10:00:45 -04:00
test_inter_peer_cancellation.py Add a first serious inter-peer remote cancel suite 2023-10-18 13:59:08 -04:00
test_legacy_one_way_streaming.py Bump up legacy streaming timeout a smidgen 2023-01-29 14:55:02 -05:00
test_local.py Adjust "no arbiter" test for new runtime defaults 2022-10-12 12:46:20 -04:00
test_multi_program.py Drop run from multi prog tests 2021-05-07 11:21:40 -04:00
test_pubsub.py Fix import to load from `conftest.py` 2022-10-09 18:03:17 -04:00
test_resource_cache.py Parameterize over cache keying methods: kwargs and "key" 2021-12-16 18:02:03 -05:00
test_rpc.py Drop lingering rpc_module_paths refs 2021-05-07 11:21:40 -04:00
test_runtime.py Tolerate eg in runtime test teardown 2022-10-14 19:42:23 -04:00
test_shm.py Pass `str` dtype for `use_str` case 2023-06-15 12:20:20 -04:00
test_spawning.py Fix start method name in logging propagation test 2022-10-09 18:22:55 -04:00
test_task_broadcasting.py Drop brackpressure usage from fan out tests 2023-05-15 10:00:45 -04:00
test_trioisms.py Add a new "trioisms" test mod for tracking `trio` wishlist behaviour 2022-04-12 13:05:56 -04:00