forked from goodboy/tractor
1
0
Fork 0
tractor/tests
Tyler Goodlet d2d8860dad Add test for dereg failure on manual stream close
There was code from the last de-registration fix PR that I had commented
(to do with shielding arbiter dereg steps in `Actor._async_main()`) because
the block didn't seem to make a difference under infinite streaming
tests. Turns out it **for sure** is needed under certain conditions (likely
if the actor's root nursery is cancelled prior to actor nursery exit).
This was an attempt to simulate the failure mode if you manually close the
stream **before** cancelling the containing **actor**.

More tests to come I guess.
2020-08-07 09:16:01 -04:00
..
conftest.py Move daemon fixture up to conftest 2020-08-03 15:39:54 -04:00
test_cancellation.py Add slight delays to SIGINT tests on mp 2020-07-29 13:27:15 -04:00
test_discovery.py Add test for dereg failure on manual stream close 2020-08-07 09:16:01 -04:00
test_docs_examples.py Search for guard and strip instead of hardcoding 2020-02-10 12:59:44 -05:00
test_local.py Verify subs topics at each step 2019-01-23 22:35:04 -05:00
test_multi_program.py Move daemon fixture up to conftest 2020-08-03 15:39:54 -04:00
test_pubsub.py Add back line that breaks with async gens 2019-02-15 22:10:55 -05:00
test_rpc.py Allow choosing the spawn backend per test session 2020-01-26 21:36:08 -05:00
test_spawning.py Add subactor loglevel propagation test 2019-03-23 23:27:32 -04:00
test_streaming.py Skip **every** quad test for mp on ci 2020-07-29 10:26:19 -04:00