Skip to content

Commit c5d7f1b

Browse files
committed
chore: Update mechanical markdown workflow timeouts
Signed-off-by: Javier Aliaga <[email protected]>
1 parent b5e9078 commit c5d7f1b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

spring-boot-examples/workflows/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ expected_stdout_lines:
6868
- 'TOKYO, LONDON, SEATTLE'
6969
background: true
7070
sleep: 1
71-
timeout_seconds: 2
71+
timeout_seconds: 10
7272
-->
7373
<!-- Timeout for above service must be more than sleep + timeout for the client-->
7474

@@ -146,7 +146,7 @@ expected_stdout_lines:
146146
- '!wolfkroW rpaD olleH'
147147
background: true
148148
sleep: 1
149-
timeout_seconds: 2
149+
timeout_seconds: 10
150150
-->
151151
<!-- Timeout for above service must be more than sleep + timeout for the client-->
152152

@@ -266,7 +266,7 @@ match_order: none
266266
output_match_mode: substring
267267
background: true
268268
sleep: 1
269-
timeout_seconds: 2
269+
timeout_seconds: 10
270270
-->
271271
<!-- Timeout for above service must be more than sleep + timeout for the client-->
272272

@@ -354,7 +354,7 @@ expected_stdout_lines:
354354
- '{"wordCount":60}'
355355
background: true
356356
sleep: 1
357-
timeout_seconds: 2
357+
timeout_seconds: 10
358358
-->
359359
<!-- Timeout for above service must be more than sleep + timeout for the client-->
360360

@@ -407,7 +407,7 @@ match_order: none
407407
output_match_mode: substring
408408
background: true
409409
sleep: 1
410-
timeout_seconds: 2
410+
timeout_seconds: 10
411411
-->
412412
<!-- Timeout for above service must be more than sleep + timeout for the client-->
413413

spring-boot-examples/workflows/src/main/java/io/dapr/springboot/examples/wfp/WorkflowPatternsRestController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public String chain() throws TimeoutException {
6767
String instanceId = daprWorkflowClient.scheduleNewWorkflow(ChainWorkflow.class);
6868
logger.info("Workflow instance " + instanceId + " started");
6969
return daprWorkflowClient
70-
.waitForInstanceCompletion(instanceId, Duration.ofSeconds(2), true)
70+
.waitForInstanceCompletion(instanceId, Duration.ofSeconds(10), true)
7171
.readOutputAs(String.class);
7272
}
7373

@@ -81,7 +81,7 @@ public String child() throws TimeoutException {
8181
String instanceId = daprWorkflowClient.scheduleNewWorkflow(ParentWorkflow.class);
8282
logger.info("Workflow instance " + instanceId + " started");
8383
return daprWorkflowClient
84-
.waitForInstanceCompletion(instanceId, Duration.ofSeconds(2), true)
84+
.waitForInstanceCompletion(instanceId, Duration.ofSeconds(10), true)
8585
.readOutputAs(String.class);
8686
}
8787

0 commit comments

Comments
 (0)