karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject karaf git commit: Increase instance startup wait in itest
Date Thu, 07 Jan 2016 14:36:46 GMT
Repository: karaf
Updated Branches:
  refs/heads/master 26c4475f7 -> cf863ab9f


Increase instance startup wait in itest


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/cf863ab9
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/cf863ab9
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/cf863ab9

Branch: refs/heads/master
Commit: cf863ab9fcbd33d48ba0dfb6476acd2b269ed4b0
Parents: 26c4475
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Thu Jan 7 15:36:21 2016 +0100
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Thu Jan 7 15:36:21 2016 +0100

----------------------------------------------------------------------
 itests/src/test/java/org/apache/karaf/itests/InstanceTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/cf863ab9/itests/src/test/java/org/apache/karaf/itests/InstanceTest.java
----------------------------------------------------------------------
diff --git a/itests/src/test/java/org/apache/karaf/itests/InstanceTest.java b/itests/src/test/java/org/apache/karaf/itests/InstanceTest.java
index 6ab04b2..8b8c307 100644
--- a/itests/src/test/java/org/apache/karaf/itests/InstanceTest.java
+++ b/itests/src/test/java/org/apache/karaf/itests/InstanceTest.java
@@ -63,12 +63,12 @@ public class InstanceTest extends KarafTestSupport {
         System.out.println(executeCommand("instance:create itest"));
         assertContains("itest", executeCommand("instance:list"));
         System.out.println(executeCommand("instance:start itest"));
-        Thread.sleep(5000);
+        Thread.sleep(10000);
         String output = executeCommand("instance:status itest");
         System.out.println("itest instance status: " + output);
         assertContains("Started", output);
         System.out.println(executeCommand("instance:stop itest"));
-        Thread.sleep(5000);
+        Thread.sleep(10000);
         output = executeCommand("instance:status itest");
         System.out.println("itest instance status: " + output);
         assertContains("Stopped", output);


Mime
View raw message