tractor/tests
Tyler Goodlet 7dd5d8d1f8 Add new set of context cancellation tests
These will verify new changes to the runtime/messaging core which allows
us to adopt an "ignore cancel if requested by us" style handling of
`ContextCancelled` more like how `trio` does with
`trio.Nursery.cancel_scope.cancel()`. We now expect
a `ContextCancelled.canceller: tuple` which is set to the actor uid of
the actor which requested the cancellation which eventually resulted in
the remote error-msg.

Also adds some experimental tweaks to the "backpressure" test which it
turns out is very problematic in coordination with context cancellation
since blocking on the feed mem chan to some task will block the ipc msg
loop and thus handling of cancellation.. More to come to both the test
and core to address this hopefully since right now this test is failing.
2023-04-14 16:35:25 -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 Add `mngrs=(<gen_comprehension>)` test 2022-12-11 19:56:01 -05:00
test_context_stream_semantics.py Add new set of context cancellation tests 2023-04-14 16:35:25 -04:00
test_debugger.py Adjust other examples tests to expect `pathlib` objects 2023-01-29 14:55:02 -05: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 Expect egs in tests which retreive portal results 2022-10-14 19:42:23 -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_spawning.py Fix start method name in logging propagation test 2022-10-09 18:22:55 -04:00
test_task_broadcasting.py Add a basic no-raise-on lag test 2023-01-30 12:26:07 -05:00
test_trioisms.py Add a new "trioisms" test mod for tracking `trio` wishlist behaviour 2022-04-12 13:05:56 -04:00