[jboss-cvs] JBoss Messaging SVN: r6005 - trunk/tests/jms-tests/src/org/jboss/test/messaging/jms.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Mar 5 05:56:06 EST 2009
Author: jmesnil
Date: 2009-03-05 05:56:05 -0500 (Thu, 05 Mar 2009)
New Revision: 6005
Modified:
trunk/tests/jms-tests/src/org/jboss/test/messaging/jms/ScheduledDeliveryTest.java
Log:
fixed typo (the -ve expiration property was not set on the tm9 but tm8)
Modified: trunk/tests/jms-tests/src/org/jboss/test/messaging/jms/ScheduledDeliveryTest.java
===================================================================
--- trunk/tests/jms-tests/src/org/jboss/test/messaging/jms/ScheduledDeliveryTest.java 2009-03-05 09:50:52 UTC (rev 6004)
+++ trunk/tests/jms-tests/src/org/jboss/test/messaging/jms/ScheduledDeliveryTest.java 2009-03-05 10:56:05 UTC (rev 6005)
@@ -29,7 +29,6 @@
import javax.jms.TextMessage;
import org.jboss.messaging.core.message.impl.MessageImpl;
-import org.jboss.messaging.jms.client.JBossMessage;
/**
@@ -59,10 +58,6 @@
// Public --------------------------------------------------------
- public void test1()
- {
- }
-
public void testScheduledDeliveryTX() throws Exception
{
scheduledDelivery(true);
@@ -453,7 +448,7 @@
//And one scheduled with a -ve number
TextMessage tm9 = sess.createTextMessage("testScheduled9");
- tm8.setLongProperty(MessageImpl.HDR_SCHEDULED_DELIVERY_TIME.toString(), -3);
+ tm9.setLongProperty(MessageImpl.HDR_SCHEDULED_DELIVERY_TIME.toString(), -3);
prod.send(tm9);
if (tx)
More information about the jboss-cvs-commits
mailing list