Skip to content

Commit 32c6aba

Browse files
committed
Skip test on timeskipping server
1 parent 5a7b948 commit 32c6aba

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

tests/nexus_standalone_operations/nexus_standalone_operations_test.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import uuid
22
from datetime import timedelta
33

4+
import pytest
45
from temporalio.client import Client
6+
from temporalio.testing import WorkflowEnvironment
57
from temporalio.worker import Worker
68

79
from nexus_standalone_operations.handler import HelloWorkflow, MyNexusServiceHandler
@@ -16,7 +18,10 @@
1618
from tests.helpers.nexus import create_nexus_endpoint, delete_nexus_endpoint
1719

1820

19-
async def test_nexus_standalone_operations(client: Client):
21+
async def test_nexus_standalone_operations(client: Client, env: WorkflowEnvironment):
22+
if env.supports_time_skipping:
23+
pytest.skip("Time Skipping server does not support standalone nexus operations")
24+
2025
endpoint_name = f"test-nexus-standalone-{uuid.uuid4()}"
2126

2227
create_response = await create_nexus_endpoint(

0 commit comments

Comments
 (0)