File tree Expand file tree Collapse file tree 4 files changed +7
-0
lines changed
temporal-sdk/src/test/java/io/temporal/workflow/updateTest
main/java/io/temporal/internal/testservice
test/java/io/temporal/testserver/functional Expand file tree Collapse file tree 4 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 9393 --search-attribute CustomDoubleField=Double \
9494 --search-attribute CustomBoolField=Bool \
9595 --dynamic-config-value system.enableActivityEagerExecution=true \
96+ --dynamic-config-value history.MaxBufferedQueryCount=10000 \
9697 --dynamic-config-value frontend.workerVersioningDataAPIs=true \
9798 --dynamic-config-value component.nexusoperations.recordCancelRequestCompletionEvents=true \
9899 --dynamic-config-value component.callbacks.allowedAddresses='[{"Pattern":"*","AllowInsecure":true}]' \
Original file line number Diff line number Diff line change @@ -646,6 +646,7 @@ public void failWhenUpdateNamesDoNotMatch() {
646646 }
647647
648648 @ Test
649+ @ SuppressWarnings ("deprecation" ) // Test uses deprecated policy for validation
649650 public void failServerSideWhenStartIsInvalid () {
650651 WorkflowClient workflowClient = testWorkflowRule .getWorkflowClient ();
651652
Original file line number Diff line number Diff line change @@ -310,6 +310,8 @@ public void startWorkflowExecution(
310310 }
311311 }
312312
313+ @ SuppressWarnings (
314+ "deprecation" ) // Backwards compatibility for WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING
313315 StartWorkflowExecutionResponse startWorkflowExecutionImpl (
314316 StartWorkflowExecutionRequest startRequest ,
315317 Duration backoffStartInterval ,
@@ -475,6 +477,8 @@ private StartWorkflowExecutionResponse throwDuplicatedWorkflow(
475477 WorkflowExecutionAlreadyStartedFailure .getDescriptor ());
476478 }
477479
480+ @ SuppressWarnings (
481+ "deprecation" ) // Backwards compatibility for WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING
478482 private void validateWorkflowIdReusePolicy (
479483 WorkflowIdReusePolicy reusePolicy , WorkflowIdConflictPolicy conflictPolicy ) {
480484 if (conflictPolicy != WorkflowIdConflictPolicy .WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ public void alreadyRunningWorkflowBlocksSecondEvenWithAllowDuplicate() {
8080 }
8181
8282 @ Test
83+ @ SuppressWarnings ("deprecation" ) // Test for deprecated policy behavior
8384 public void secondWorkflowTerminatesFirst () {
8485 String workflowId = "terminate-if-running-1" ;
8586 WorkflowOptions options =
You can’t perform that action at this time.
0 commit comments