File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -1491,7 +1491,12 @@ async def h():
14911491 assert result .result == "details: Some detail"
14921492
14931493
1494- async def test_activity_reset_catch (client : Client , worker : ExternalWorker ):
1494+ async def test_activity_reset_catch (
1495+ client : Client , worker : ExternalWorker , env : WorkflowEnvironment
1496+ ):
1497+ if env .supports_time_skipping :
1498+ pytest .skip ("Time skipping server doesn't support activity reset" )
1499+
14951500 @activity .defn
14961501 async def wait_cancel () -> str :
14971502 req = temporalio .api .workflowservice .v1 .ResetActivityRequest (
@@ -1553,7 +1558,12 @@ def sync_wait_cancel() -> str:
15531558 assert result .result == "Got cancelled error, reset? True"
15541559
15551560
1556- async def test_activity_reset_history (client : Client , worker : ExternalWorker ):
1561+ async def test_activity_reset_history (
1562+ client : Client , worker : ExternalWorker , env : WorkflowEnvironment
1563+ ):
1564+ if env .supports_time_skipping :
1565+ pytest .skip ("Time skipping server doesn't support activity reset" )
1566+
15571567 @activity .defn
15581568 async def wait_cancel () -> str :
15591569 req = temporalio .api .workflowservice .v1 .ResetActivityRequest (
You can’t perform that action at this time.
0 commit comments