diff --git a/jbpm/jbpm-tests/src/test/java/org/jbpm/bpmn2/ActivityTest.java b/jbpm/jbpm-tests/src/test/java/org/jbpm/bpmn2/ActivityTest.java index 04268941587..c6a71ea45bf 100755 --- a/jbpm/jbpm-tests/src/test/java/org/jbpm/bpmn2/ActivityTest.java +++ b/jbpm/jbpm-tests/src/test/java/org/jbpm/bpmn2/ActivityTest.java @@ -993,7 +993,7 @@ public void testCallActivityWithBoundaryEvent() { model.setX("oldValue"); ProcessInstance processInstance = process.createInstance(model); processInstance.start(); - listener.waitTillCompleted(); + listener.waitTillCompleted(15000); assertThat(processInstance).extracting(ProcessInstance::status).isEqualTo(ProcessInstance.STATE_COMPLETED); Collection processNodes = process.findNodes(Objects::nonNull).stream().map(Node::getName).collect(Collectors.toSet()); Collection subProcessNodes = callActivitySubProcessWithBoundaryEventProcess.findNodes(Objects::nonNull).stream().map(Node::getName).collect(Collectors.toSet());