File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
spring-boot-examples/workflows
src/main/java/io/dapr/springboot/examples/wfp Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ expected_stdout_lines:
6868- 'TOKYO, LONDON, SEATTLE'
6969background: true
7070sleep: 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'
147147background: true
148148sleep: 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
266266output_match_mode: substring
267267background: true
268268sleep: 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}'
355355background: true
356356sleep: 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
407407output_match_mode: substring
408408background: true
409409sleep: 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments