Skip to content

Commit 53643b5

Browse files
THardy98claude
andcommitted
Suppress deprecation warnings in NexusWorkflowTest to fix CI
Add @SuppressWarnings("deprecation") to test methods calling the deprecated setOperationError() API, preventing -Werror from failing the build. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 6705aa5 commit 53643b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

temporal-test-server/src/test/java/io/temporal/testserver/functional/NexusWorkflowTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -846,6 +846,7 @@ public void testNexusOperationStartToCloseTimeout() {
846846
}
847847
}
848848

849+
@SuppressWarnings("deprecation")
849850
@Test
850851
public void testNexusOperationError() {
851852
Response unsuccessfulResp =
@@ -1158,6 +1159,7 @@ public void testNexusOperationCancelRequestAcknowledgeSchedulesWorkflowTask() {
11581159
}
11591160
}
11601161

1162+
@SuppressWarnings("deprecation")
11611163
@Test(timeout = 30000)
11621164
public void testNexusOperationCanceledErrorWithCauseChain() {
11631165
// Verifies that a canceled OperationError with a JSON-encoded failure chain properly

0 commit comments

Comments
 (0)