activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kea...@apache.org
Subject git commit: Added timeout for AMQ-4877
Date Tue, 12 Nov 2013 15:17:17 GMT
Updated Branches:
  refs/heads/trunk 6540f04a4 -> 0ed2ddb3d


Added timeout for AMQ-4877


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

Branch: refs/heads/trunk
Commit: 0ed2ddb3df687f5e977b21b0394139efbfd8846f
Parents: 6540f04
Author: Kevin Earls <kevin@kevinearls.com>
Authored: Tue Nov 12 16:17:10 2013 +0100
Committer: Kevin Earls <kevin@kevinearls.com>
Committed: Tue Nov 12 16:17:10 2013 +0100

----------------------------------------------------------------------
 .../java/org/apache/activemq/broker/QueueMbeanRestartTest.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/0ed2ddb3/activemq-unit-tests/src/test/java/org/apache/activemq/broker/QueueMbeanRestartTest.java
----------------------------------------------------------------------
diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/broker/QueueMbeanRestartTest.java
b/activemq-unit-tests/src/test/java/org/apache/activemq/broker/QueueMbeanRestartTest.java
index 0a6aaf5..c004fef 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/broker/QueueMbeanRestartTest.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/broker/QueueMbeanRestartTest.java
@@ -60,14 +60,12 @@ public class QueueMbeanRestartTest extends TestSupport {
         this.persistenceAdapterChoice = choice;
     }
 
-    @Override
     @Before
     public void setUp() throws Exception {
         topic = false;
         super.setUp();
     }
 
-    @Override
     @After
     public void tearDown() throws Exception {
         super.tearDown();
@@ -89,6 +87,7 @@ public class QueueMbeanRestartTest extends TestSupport {
     private void restartBroker() throws Exception {
         broker.stop();
         broker.waitUntilStopped();
+        Thread.sleep(5 * 1000);
         createBroker(false);
         broker.waitUntilStarted();
     }


Mime
View raw message