Skip sync sleep test on mp backend

bug_in_debug
Tyler Goodlet 2020-10-13 14:16:20 -04:00
parent 08ff989631
commit 24ef919334
1 changed files with 3 additions and 0 deletions

View File

@ -435,6 +435,9 @@ def test_cancel_while_childs_child_in_sync_sleep(
down even when that cancellation is triggered by the parent down even when that cancellation is triggered by the parent
2 nurseries "up". 2 nurseries "up".
""" """
if start_method == 'forkserver':
pytest.skip("Forksever sux hard at resuming from sync sleep...")
async def main(): async def main():
with trio.fail_after(2): with trio.fail_after(2):
async with tractor.open_nursery() as tn: async with tractor.open_nursery() as tn: