[jboss-cvs] JBoss Messaging SVN: r7988 - branches/Branch_1_4/tests/src/org/jboss/test/messaging/jms/clustering.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Mar 29 22:41:51 EDT 2010


Author: gaohoward
Date: 2010-03-29 22:41:51 -0400 (Mon, 29 Mar 2010)
New Revision: 7988

Modified:
   branches/Branch_1_4/tests/src/org/jboss/test/messaging/jms/clustering/DistributedTopicTest.java
Log:
correction


Modified: branches/Branch_1_4/tests/src/org/jboss/test/messaging/jms/clustering/DistributedTopicTest.java
===================================================================
--- branches/Branch_1_4/tests/src/org/jboss/test/messaging/jms/clustering/DistributedTopicTest.java	2010-03-30 02:34:25 UTC (rev 7987)
+++ branches/Branch_1_4/tests/src/org/jboss/test/messaging/jms/clustering/DistributedTopicTest.java	2010-03-30 02:41:51 UTC (rev 7988)
@@ -1322,7 +1322,7 @@
 
             log.info("Message " + i + "th received: " + tm.getText() + " offset: " + offset);
             
-            if (("message2-" + (i * 2 + offset)).equals(tm.getText()))
+            if (!("message2-" + (i * 2 + offset)).equals(tm.getText()))
             {
                checkResult = "Message received not expected, should be: " + "message2-" + (i * 2 + offset) + " but was " + tm.getText();
                log.error(checkResult);




More information about the jboss-cvs-commits mailing list