Author: rgemmell
Date: 2011-03-30 12:02:53 -0400 (Wed, 30 Mar 2011)
New Revision: 4448
Modified:
store/trunk/java/bdbstore/src/test/java/org/apache/qpid/server/store/berkeleydb/BDBMessageStoreTest.java
store/trunk/java/bdbstore/src/test/java/org/apache/qpid/server/store/berkeleydb/BDBUpgradeTest.java
Log:
updates to take into account changes to main broker codebase
Modified:
store/trunk/java/bdbstore/src/test/java/org/apache/qpid/server/store/berkeleydb/BDBMessageStoreTest.java
===================================================================
---
store/trunk/java/bdbstore/src/test/java/org/apache/qpid/server/store/berkeleydb/BDBMessageStoreTest.java 2011-03-21
17:50:21 UTC (rev 4447)
+++
store/trunk/java/bdbstore/src/test/java/org/apache/qpid/server/store/berkeleydb/BDBMessageStoreTest.java 2011-03-30
16:02:53 UTC (rev 4448)
@@ -141,7 +141,7 @@
assertEquals("ContentHeader weight has changed", chb_0_8.weight,
returnedHeaderBody_0_8.weight);
assertEquals("ContentHeader bodySize has changed", chb_0_8.bodySize,
returnedHeaderBody_0_8.bodySize);
- BasicContentHeaderProperties returnedProperties_0_8 =
(BasicContentHeaderProperties) returnedHeaderBody_0_8.properties;
+ BasicContentHeaderProperties returnedProperties_0_8 =
(BasicContentHeaderProperties) returnedHeaderBody_0_8.getProperties();
assertEquals("Property ContentType has changed",
props_0_8.getContentTypeAsString(), returnedProperties_0_8.getContentTypeAsString());
assertEquals("Property MessageID has changed",
props_0_8.getMessageIdAsString(), returnedProperties_0_8.getMessageIdAsString());
@@ -467,4 +467,4 @@
assertEquals("Second Message is incorrect", 32L, val.longValue());
}
-}
\ No newline at end of file
+}
Modified:
store/trunk/java/bdbstore/src/test/java/org/apache/qpid/server/store/berkeleydb/BDBUpgradeTest.java
===================================================================
---
store/trunk/java/bdbstore/src/test/java/org/apache/qpid/server/store/berkeleydb/BDBUpgradeTest.java 2011-03-21
17:50:21 UTC (rev 4447)
+++
store/trunk/java/bdbstore/src/test/java/org/apache/qpid/server/store/berkeleydb/BDBUpgradeTest.java 2011-03-30
16:02:53 UTC (rev 4448)
@@ -153,7 +153,7 @@
try
{
- ManagedQueue dursubQueue = jmxUtils.getManagedQueue("clientid" +
"-" + SUB_NAME);
+ ManagedQueue dursubQueue = jmxUtils.getManagedQueue("clientid" +
":" + SUB_NAME);
assertEquals("DurableSubscription backing queue should have 1 message on
it initially",
new Integer(1), dursubQueue.getMessageCount());
@@ -208,7 +208,7 @@
ManagedQueue queue = jmxUtils.getManagedQueue(QUEUE_NAME);
assertFalse("Queue should not have been marked as Exclusive during
upgrade", queue.isExclusive());
- ManagedQueue dursubQueue = jmxUtils.getManagedQueue("clientid" +
"-" + SUB_NAME);
+ ManagedQueue dursubQueue = jmxUtils.getManagedQueue("clientid" +
":" + SUB_NAME);
assertTrue("DurableSubscription backing queue should have been marked as
Exclusive during upgrade", dursubQueue.isExclusive());
}
finally
Show replies by date