Skip to content

Commit 652f2b7

Browse files
committed
Skip nexus cancellation tests for time-skipping environment
The test_cancellation_type tests were hanging indefinitely when run with the time-skipping environment, causing CI failures. These tests work fine with the regular environment but have compatibility issues with time-skipping, similar to other Nexus tests. Fixes the CI timeout failures seen on PR #981.
1 parent 134072e commit 652f2b7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/nexus/test_workflow_caller_cancellation_types.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@ async def test_cancellation_type(
168168
env: WorkflowEnvironment,
169169
cancellation_type: Optional[str],
170170
):
171+
if env.supports_time_skipping:
172+
pytest.skip("Nexus tests don't work with time-skipping server")
173+
171174
client = env.client
172175

173176
async with Worker(

0 commit comments

Comments
 (0)