Skip to content

Commit ae29385

Browse files
committed
chore: Set retryTimeout
Signed-off-by: Javier Aliaga <[email protected]>
1 parent 89488b1 commit ae29385

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sdk-workflows/src/test/java/io/dapr/workflows/DefaultWorkflowContextTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ public void callChildWorkflowWithOptions() {
285285
WorkflowTaskRetryPolicy retryPolicy = WorkflowTaskRetryPolicy.newBuilder()
286286
.setMaxNumberOfAttempts(1)
287287
.setFirstRetryInterval(Duration.ofSeconds(10))
288+
.setRetryTimeout(Duration.ofSeconds(10))
288289
.build();
289290
WorkflowTaskOptions executionOptions = new WorkflowTaskOptions(retryPolicy);
290291
ArgumentCaptor<TaskOptions> captor = ArgumentCaptor.forClass(TaskOptions.class);

0 commit comments

Comments
 (0)