forked from goodboy/tractor
1
0
Fork 0
tractor/tests
Tyler Goodlet 121f7fd844 Draft test that shows a slow daemon cancellation
Currently if the spawn task is waiting on a daemon actor it is likely in
`await proc.wait()`, however, if the actor nursery is subsequently
cancelled this checkpoint will be abandoned and the hard proc reaping
sequence will execute which results in a up to 3 second wait before
a "hard" system signal is sent to the child.  Ideally such
a cancelled-during-daemon-actor-wait condition is instead handled by
first trying to cancel the remote actor using `Portal.cancel_actor()` (a
"graceful" remote cancel request) which should (presuming normal runtime
operation) result in an immediate collection of the process after normal
actor (remotely triggered) runtime cancellation.
2021-11-29 16:03:14 -05:00
..
conftest.py Factor `repodir()` helper into conftest.py 2020-10-13 14:49:31 -04:00
test_2way.py Add longer timeout on windows 2021-10-04 12:10:39 -04:00
test_advanced_streaming.py Add a test of both stream styles side-by-side 2021-10-04 10:38:22 -04:00
test_cancellation.py Draft test that shows a slow daemon cancellation 2021-11-29 16:03:14 -05:00
test_clustering.py Change to `gather_contexts()`, use event for graceful exit 2021-10-24 14:00:01 -04:00
test_debugger.py Adjust debugger tests to expect depth > 1 crashes 2021-10-14 13:39:46 -04:00
test_discovery.py Don't expect list value from registry 2021-10-05 13:37:17 -04:00
test_docs_examples.py Add 2-way streaming example to readme and scripts 2021-07-31 12:10:25 -04:00
test_local.py Mostly drop run from local tests 2021-05-07 11:21:40 -04:00
test_multi_program.py Drop run from multi prog tests 2021-05-07 11:21:40 -04:00
test_pubsub.py Lol, fix sub-actor case 2021-10-14 13:39:46 -04:00
test_rpc.py Drop lingering rpc_module_paths refs 2021-05-07 11:21:40 -04:00
test_spawning.py Increase timeout, windows... 2021-11-20 13:08:19 -05:00
test_streaming.py Drop stream shielding; it was from a legacy design 2021-09-02 08:24:18 -04:00
test_task_broadcasting.py Move broadcast channel parts into trionics 2021-10-23 15:54:40 -04:00