You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2019/10/22 05:20:21 UTC
[karaf] 02/02: Increase timeout in XATest as it can fail on slow
machines
This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch karaf-4.2.x
in repository https://gitbox.apache.org/repos/asf/karaf.git
commit 4e060dab51777160221500a8509cb53b47508f96
Author: Jean-Baptiste Onofré <jb...@apache.org>
AuthorDate: Tue Oct 22 07:19:50 2019 +0200
Increase timeout in XATest as it can fail on slow machines
---
itests/test/src/test/java/org/apache/karaf/itests/XATest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/itests/test/src/test/java/org/apache/karaf/itests/XATest.java b/itests/test/src/test/java/org/apache/karaf/itests/XATest.java
index 4f337a9..8c2ec99 100644
--- a/itests/test/src/test/java/org/apache/karaf/itests/XATest.java
+++ b/itests/test/src/test/java/org/apache/karaf/itests/XATest.java
@@ -89,7 +89,7 @@ public class XATest extends BaseTest {
Bundle bundle = bundleContext.installBundle("blueprint:file:etc/xa-test-camel.xml");
bundle.start();
- Thread.sleep(5000);
+ Thread.sleep(20000);
System.out.println(executeCommand("camel:route-list"));
@@ -99,7 +99,7 @@ public class XATest extends BaseTest {
System.out.println("== Sending a message in Artemis broker that should be consumed by Camel route and inserted into the Derby database");
System.out.println(executeCommand("jms:send artemis MyQueue 'the-message'"));
- Thread.sleep(5000);
+ Thread.sleep(15000);
String output = executeCommand("jdbc:query derby select * from messages");
System.err.println(output);