This is an automated email from the ASF dual-hosted git repository.
fjtiradosarti pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-runtimes.git
The following commit(s) were added to refs/heads/main by this push:
new e966dd9367 Increase timeout in flaky test (#3580)
e966dd9367 is described below
commit e966dd93672abd38b6fbd3bc439ebffd44a42096
Author: Francisco Javier Tirado Sarti
<[email protected]>
AuthorDate: Tue Jul 16 14:37:00 2024 +0200
Increase timeout in flaky test (#3580)
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)
---
jbpm/jbpm-tests/src/test/java/org/jbpm/bpmn2/ActivityTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 0426894158..c6a71ea45b 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 class ActivityTest extends JbpmBpmn2TestCase {
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());
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]