Add timeout around `trio`-callee-task
parent
1c480e6c92
commit
3398153c52
|
@ -203,6 +203,7 @@ def test_context_spawns_aio_task_that_errors(
|
|||
'''
|
||||
async def main():
|
||||
|
||||
with trio.fail_after(2):
|
||||
async with tractor.open_nursery() as n:
|
||||
p = await n.start_actor(
|
||||
'aio_daemon',
|
||||
|
|
Loading…
Reference in New Issue