Skip to content

Commit cc12038

Browse files
committed
Revert disabling of sandbox for nexus workflow tests
1 parent 65f8d0a commit cc12038

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

tests/nexus/test_workflow_caller.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
from temporalio.nexus import workflow_run_operation
4242
from temporalio.nexus._workflow import WorkflowRunOperationContext
4343
from temporalio.service import RPCError, RPCStatusCode
44-
from temporalio.worker import UnsandboxedWorkflowRunner, Worker
44+
from temporalio.worker import Worker
4545
from tests.helpers.nexus import create_nexus_endpoint, make_nexus_endpoint_name
4646

4747
# TODO(dan): test availability of Temporal client etc in async context set by worker
@@ -445,8 +445,6 @@ async def test_sync_response(
445445
nexus_service_handlers=[ServiceImpl()],
446446
workflows=[CallerWorkflow, HandlerWorkflow],
447447
task_queue=task_queue,
448-
# TODO(dan): enable sandbox
449-
workflow_runner=UnsandboxedWorkflowRunner(),
450448
workflow_failure_exception_types=[Exception],
451449
):
452450
await create_nexus_endpoint(task_queue, client)
@@ -518,7 +516,6 @@ async def test_async_response(
518516
nexus_service_handlers=[ServiceImpl()],
519517
workflows=[CallerWorkflow, HandlerWorkflow],
520518
task_queue=task_queue,
521-
workflow_runner=UnsandboxedWorkflowRunner(),
522519
workflow_failure_exception_types=[Exception],
523520
):
524521
caller_wf_handle, handler_wf_handle = await _start_wf_and_nexus_op(
@@ -674,7 +671,6 @@ async def test_untyped_caller(
674671
workflows=[UntypedCallerWorkflow, HandlerWorkflow],
675672
nexus_service_handlers=[ServiceImpl()],
676673
task_queue=task_queue,
677-
workflow_runner=UnsandboxedWorkflowRunner(),
678674
workflow_failure_exception_types=[Exception],
679675
):
680676
if response_type == SyncResponse:
@@ -852,7 +848,6 @@ async def test_service_interface_and_implementation_names(client: Client):
852848
],
853849
workflows=[ServiceInterfaceAndImplCallerWorkflow],
854850
task_queue=task_queue,
855-
workflow_runner=UnsandboxedWorkflowRunner(),
856851
workflow_failure_exception_types=[Exception],
857852
):
858853
await create_nexus_endpoint(task_queue, client)
@@ -966,7 +961,6 @@ async def test_workflow_run_operation_can_execute_workflow_before_starting_backi
966961
ServiceImplWithOperationsThatExecuteWorkflowBeforeStartingBackingWorkflow(),
967962
],
968963
task_queue=task_queue,
969-
workflow_runner=UnsandboxedWorkflowRunner(),
970964
):
971965
await create_nexus_endpoint(task_queue, client)
972966
result = await client.execute_workflow(

0 commit comments

Comments
 (0)