[jboss-cvs] JBoss Messaging SVN: r5519 - trunk/tests/src/org/jboss/messaging/tests/integration/chunkmessage.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Dec 11 12:32:18 EST 2008
Author: clebert.suconic at jboss.com
Date: 2008-12-11 12:32:17 -0500 (Thu, 11 Dec 2008)
New Revision: 5519
Modified:
trunk/tests/src/org/jboss/messaging/tests/integration/chunkmessage/ChunkTestBase.java
Log:
fix on test
Modified: trunk/tests/src/org/jboss/messaging/tests/integration/chunkmessage/ChunkTestBase.java
===================================================================
--- trunk/tests/src/org/jboss/messaging/tests/integration/chunkmessage/ChunkTestBase.java 2008-12-11 17:20:12 UTC (rev 5518)
+++ trunk/tests/src/org/jboss/messaging/tests/integration/chunkmessage/ChunkTestBase.java 2008-12-11 17:32:17 UTC (rev 5519)
@@ -287,7 +287,8 @@
session.close();
- assertEquals(initialSize, messagingService.getServer().getPostOffice().getPagingManager().getGlobalSize());
+ long globalSize = messagingService.getServer().getPostOffice().getPagingManager().getGlobalSize();
+ assertTrue(globalSize == initialSize || globalSize == 0);
assertEquals(0, messagingService.getServer().getPostOffice().getBinding(ADDRESS).getQueue().getDeliveringCount());
assertEquals(0, messagingService.getServer().getPostOffice().getBinding(ADDRESS).getQueue().getMessageCount());
More information about the jboss-cvs-commits
mailing list