activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject activemq git commit: give test some more time
Date Fri, 19 Dec 2014 15:13:11 GMT
Repository: activemq
Updated Branches:
  refs/heads/trunk b96935844 -> 9927824c2


give test some more time


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

Branch: refs/heads/trunk
Commit: 9927824c277a75e9b3a9f75d1ebd55d0e5a99a28
Parents: b969358
Author: Dejan Bosanac <dejan@nighttale.net>
Authored: Fri Dec 19 16:13:01 2014 +0100
Committer: Dejan Bosanac <dejan@nighttale.net>
Committed: Fri Dec 19 16:13:01 2014 +0100

----------------------------------------------------------------------
 ...NetworkConnectorWildcardIncludedDestinationTestSupport.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/9927824c/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/AbstractTwoBrokerNetworkConnectorWildcardIncludedDestinationTestSupport.java
----------------------------------------------------------------------
diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/AbstractTwoBrokerNetworkConnectorWildcardIncludedDestinationTestSupport.java
b/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/AbstractTwoBrokerNetworkConnectorWildcardIncludedDestinationTestSupport.java
index 9616a5f..7ccf5d1 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/AbstractTwoBrokerNetworkConnectorWildcardIncludedDestinationTestSupport.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/AbstractTwoBrokerNetworkConnectorWildcardIncludedDestinationTestSupport.java
@@ -87,14 +87,14 @@ public abstract class AbstractTwoBrokerNetworkConnectorWildcardIncludedDestinati
 
     public void sendReceive(String broker1, String dest1, boolean topic1, String broker2,
String dest2, boolean topic2, int send, int expected) throws Exception{
         MessageConsumer client = createConsumer(broker2, createDestination(dest2, topic2));
-        Thread.sleep(1000);
+        Thread.sleep(2000);
         sendMessages(broker1, createDestination(dest1, topic1), send);
         MessageIdList msgs = getConsumerMessages(broker2, client);
-        msgs.setMaximumDuration(1000);
+        msgs.setMaximumDuration(10000);
         msgs.waitForMessagesToArrive(send);
         assertEquals(expected, msgs.getMessageCount());
         client.close();
-        Thread.sleep(500);
+        Thread.sleep(1000);
     }
 
     protected abstract void addIncludedDestination(NetworkConnector networkConnector);


Mime
View raw message