Skip to content

Commit bc53e49

Browse files
committed
Skip update tests under Java server
1 parent 6c059d1 commit bc53e49

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/worker/test_workflow.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5597,7 +5597,12 @@ async def my_update(self) -> str:
55975597

55985598
async def test_update_completion_is_honored_when_after_workflow_return_1(
55995599
client: Client,
5600+
env: WorkflowEnvironment,
56005601
):
5602+
if env.supports_time_skipping:
5603+
pytest.skip(
5604+
"Java test server: https://github.com/temporalio/sdk-java/issues/1903"
5605+
)
56015606
update_id = "my-update"
56025607
task_queue = "tq"
56035608
wf_handle = await client.start_workflow(
@@ -5648,7 +5653,12 @@ async def my_update(self) -> str:
56485653

56495654
async def test_update_completion_is_honored_when_after_workflow_return_2(
56505655
client: Client,
5656+
env: WorkflowEnvironment,
56515657
):
5658+
if env.supports_time_skipping:
5659+
pytest.skip(
5660+
"Java test server: https://github.com/temporalio/sdk-java/issues/1903"
5661+
)
56525662
async with Worker(
56535663
client,
56545664
task_queue="tq",

0 commit comments

Comments
 (0)