|
40 | 40 | from temporalio.exceptions import CancelledError, NexusHandlerError, NexusOperationError
|
41 | 41 | from temporalio.nexus import WorkflowRunOperationContext, workflow_run_operation
|
42 | 42 | from temporalio.service import RPCError, RPCStatusCode
|
43 |
| -from temporalio.worker import UnsandboxedWorkflowRunner, Worker |
| 43 | +from temporalio.worker import Worker |
44 | 44 | from tests.helpers.nexus import create_nexus_endpoint, make_nexus_endpoint_name
|
45 | 45 |
|
46 | 46 | # TODO(dan): test availability of Temporal client etc in async context set by worker
|
@@ -444,8 +444,6 @@ async def test_sync_response(
|
444 | 444 | nexus_service_handlers=[ServiceImpl()],
|
445 | 445 | workflows=[CallerWorkflow, HandlerWorkflow],
|
446 | 446 | task_queue=task_queue,
|
447 |
| - # TODO(dan): enable sandbox |
448 |
| - workflow_runner=UnsandboxedWorkflowRunner(), |
449 | 447 | workflow_failure_exception_types=[Exception],
|
450 | 448 | ):
|
451 | 449 | await create_nexus_endpoint(task_queue, client)
|
@@ -517,7 +515,6 @@ async def test_async_response(
|
517 | 515 | nexus_service_handlers=[ServiceImpl()],
|
518 | 516 | workflows=[CallerWorkflow, HandlerWorkflow],
|
519 | 517 | task_queue=task_queue,
|
520 |
| - workflow_runner=UnsandboxedWorkflowRunner(), |
521 | 518 | workflow_failure_exception_types=[Exception],
|
522 | 519 | ):
|
523 | 520 | caller_wf_handle, handler_wf_handle = await _start_wf_and_nexus_op(
|
@@ -673,7 +670,6 @@ async def test_untyped_caller(
|
673 | 670 | workflows=[UntypedCallerWorkflow, HandlerWorkflow],
|
674 | 671 | nexus_service_handlers=[ServiceImpl()],
|
675 | 672 | task_queue=task_queue,
|
676 |
| - workflow_runner=UnsandboxedWorkflowRunner(), |
677 | 673 | workflow_failure_exception_types=[Exception],
|
678 | 674 | ):
|
679 | 675 | if response_type == SyncResponse:
|
@@ -851,7 +847,6 @@ async def test_service_interface_and_implementation_names(client: Client):
|
851 | 847 | ],
|
852 | 848 | workflows=[ServiceInterfaceAndImplCallerWorkflow],
|
853 | 849 | task_queue=task_queue,
|
854 |
| - workflow_runner=UnsandboxedWorkflowRunner(), |
855 | 850 | workflow_failure_exception_types=[Exception],
|
856 | 851 | ):
|
857 | 852 | await create_nexus_endpoint(task_queue, client)
|
@@ -965,7 +960,6 @@ async def test_workflow_run_operation_can_execute_workflow_before_starting_backi
|
965 | 960 | ServiceImplWithOperationsThatExecuteWorkflowBeforeStartingBackingWorkflow(),
|
966 | 961 | ],
|
967 | 962 | task_queue=task_queue,
|
968 |
| - workflow_runner=UnsandboxedWorkflowRunner(), |
969 | 963 | ):
|
970 | 964 | await create_nexus_endpoint(task_queue, client)
|
971 | 965 | result = await client.execute_workflow(
|
|
0 commit comments