activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [1/2] activemq-6 git commit: fix potential race condition in test
Date Mon, 02 Feb 2015 19:19:59 GMT
Repository: activemq-6
Updated Branches:
  refs/heads/master 58cc02565 -> 5e72f7e28


fix potential race condition in test


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

Branch: refs/heads/master
Commit: d523f630a04e68a3da5bbe8692dbf3e58e17c51e
Parents: 9900d53
Author: jbertram <jbertram@redhat.com>
Authored: Mon Feb 2 11:51:04 2015 -0600
Committer: jbertram <jbertram@redhat.com>
Committed: Mon Feb 2 12:26:22 2015 -0600

----------------------------------------------------------------------
 .../apache/activemq/tests/integration/client/SessionTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-6/blob/d523f630/tests/integration-tests/src/test/java/org/apache/activemq/tests/integration/client/SessionTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/tests/integration/client/SessionTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/tests/integration/client/SessionTest.java
index 37ccd7f..801b73f 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/tests/integration/client/SessionTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/tests/integration/client/SessionTest.java
@@ -208,8 +208,8 @@ public class SessionTest extends ServiceTestBase
       clientSession.createConsumer(queueName);
       clientSession.createConsumer(queueName);
       ClientProducer cp = clientSession.createProducer("a1");
-      cp.send(clientSession.createMessage(false));
-      cp.send(clientSession.createMessage(false));
+      cp.send(clientSession.createMessage(true));
+      cp.send(clientSession.createMessage(true));
 
       flushQueue();
 


Mime
View raw message