@@ -54,7 +54,6 @@ void tearDown() throws IOException {
5454
5555 @ Test
5656 void testAllEvent () throws IOException , InterruptedException , ExecutionException {
57-
5857 WorkflowDefinition definition =
5958 appl .workflowDefinition (
6059 readWorkflowFromClasspath ("workflows-samples/listen-start-all.yaml" ));
@@ -63,7 +62,7 @@ void testAllEvent() throws IOException, InterruptedException, ExecutionException
6362 appl .eventPublishers ().forEach (p -> p .publish (buildCloudEvent (Map .of ("name" , "Fulanito" ))));
6463 await ()
6564 .pollDelay (Duration .ofMillis (20 ))
66- .atMost (Duration .ofMillis (500 ))
65+ .atMost (Duration .ofMillis (600 ))
6766 .until (
6867 () ->
6968 instances .stream ().filter (i -> i .status () == WorkflowStatus .COMPLETED ).count ()
@@ -81,7 +80,7 @@ void testOneEvent() throws IOException, InterruptedException, ExecutionException
8180 Collection <WorkflowInstance > instances = appl .scheduler ().scheduledInstances (definition );
8281 await ()
8382 .pollDelay (Duration .ofMillis (20 ))
84- .atMost (Duration .ofMillis (500 ))
83+ .atMost (Duration .ofMillis (600 ))
8584 .until (
8685 () ->
8786 instances .stream ().filter (i -> i .status () == WorkflowStatus .COMPLETED ).count ()
@@ -105,7 +104,7 @@ void testTogether() throws IOException, InterruptedException, ExecutionException
105104 Collection <WorkflowInstance > allDefInstances = appl .scheduler ().scheduledInstances (allDef );
106105 await ()
107106 .pollDelay (Duration .ofMillis (20 ))
108- .atMost (Duration .ofMillis (500 ))
107+ .atMost (Duration .ofMillis (800 ))
109108 .until (
110109 () ->
111110 oneDefInstances .stream ().filter (i -> i .status () == WorkflowStatus .COMPLETED ).count ()
0 commit comments