Skip to content

Commit

Permalink
Enable update in time skipping server in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Sushisource committed Oct 20, 2023
1 parent 188bf97 commit 9ddd357
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,14 @@ async def env(env_type: str) -> AsyncGenerator[WorkflowEnvironment, None]:
]
)
elif env_type == "time-skipping":
env = await WorkflowEnvironment.start_time_skipping()
env = await WorkflowEnvironment.start_time_skipping(
test_server_extra_args=[
"--dynamic-config-value",
"frontend.enableUpdateWorkflowExecution=true",
"--dynamic-config-value",
"frontend.enableUpdateWorkflowExecutionAsyncAccepted=true",
]
)
else:
env = WorkflowEnvironment.from_client(await Client.connect(env_type))
yield env
Expand Down

0 comments on commit 9ddd357

Please sign in to comment.