Skip to content

Commit

Permalink
Increase timeout in flaky test (#3580)
Browse files Browse the repository at this point in the history
In local env this takes more that 2s. It is possible that in CI, it
takes more than 10 (several PRs are failing in this test consistently)
  • Loading branch information
fjtirado authored Jul 16, 2024
1 parent f847b7b commit e966dd9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,7 @@ public void testCallActivityWithBoundaryEvent() {
model.setX("oldValue");
ProcessInstance<CallActivityWithBoundaryEventModel> processInstance = process.createInstance(model);
processInstance.start();
listener.waitTillCompleted();
listener.waitTillCompleted(15000);
assertThat(processInstance).extracting(ProcessInstance::status).isEqualTo(ProcessInstance.STATE_COMPLETED);
Collection<String> processNodes = process.findNodes(Objects::nonNull).stream().map(Node::getName).collect(Collectors.toSet());
Collection<String> subProcessNodes = callActivitySubProcessWithBoundaryEventProcess.findNodes(Objects::nonNull).stream().map(Node::getName).collect(Collectors.toSet());
Expand Down

0 comments on commit e966dd9

Please sign in to comment.