@@ -392,6 +392,7 @@ async def test_sync_response(
392
392
workflows = [CallerWorkflow , HandlerWorkflow ],
393
393
task_queue = task_queue ,
394
394
workflow_runner = UnsandboxedWorkflowRunner (),
395
+ workflow_failure_exception_types = [Exception ],
395
396
):
396
397
await create_nexus_endpoint (task_queue , client )
397
398
caller_wf_handle = await client .start_workflow (
@@ -442,6 +443,7 @@ async def test_async_response(
442
443
workflows = [CallerWorkflow , HandlerWorkflow ],
443
444
task_queue = task_queue ,
444
445
workflow_runner = UnsandboxedWorkflowRunner (),
446
+ workflow_failure_exception_types = [Exception ],
445
447
):
446
448
caller_wf_handle , handler_wf_handle = await _start_wf_and_nexus_op (
447
449
client , task_queue , request_cancel , op_definition_type , caller_reference
@@ -569,6 +571,7 @@ async def test_untyped_caller(
569
571
nexus_services = [ServiceImpl ()],
570
572
task_queue = task_queue ,
571
573
workflow_runner = UnsandboxedWorkflowRunner (),
574
+ workflow_failure_exception_types = [Exception ],
572
575
):
573
576
await create_nexus_endpoint (task_queue , client )
574
577
caller_wf_handle = await client .start_workflow (
@@ -720,6 +723,7 @@ async def test_service_interface_and_implementation_names(client: Client):
720
723
workflows = [ServiceInterfaceAndImplCallerWorkflow ],
721
724
task_queue = task_queue ,
722
725
workflow_runner = UnsandboxedWorkflowRunner (),
726
+ workflow_failure_exception_types = [Exception ],
723
727
):
724
728
await create_nexus_endpoint (task_queue , client )
725
729
assert await client .execute_workflow (
0 commit comments