Author: tabish
Date: Wed Aug 25 17:58:23 2010
New Revision: 989269
URL: http://svn.apache.org/viewvc?rev=989269&view=rev
Log:
Clean up the unit test
Modified:
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/test/csharp/DurableTest.cs
Modified:
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/test/csharp/DurableTest.cs
URL:
http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/test/csharp/DurableTest.cs?rev=989269&r1=989268&r2=989269&view=diff
==============================================================================
---
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/test/csharp/DurableTest.cs
(original)
+++
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/test/csharp/DurableTest.cs
Wed Aug 25 17:58:23 2010
@@ -214,6 +214,7 @@ namespace Apache.NMS.Stomp.Test
protected void RunTestDurableConsumer(string clientId,
AcknowledgementMode ackMode)
{
SendDurableMessage();
+ SendDurableMessage();
using(IConnection connection = CreateConnection(clientId))
{
@@ -226,7 +227,6 @@ namespace Apache.NMS.Stomp.Test
IMessage msg = consumer.Receive(receiveTimeout);
Assert.IsNotNull(msg, "Did not receive first durable
message.");
msg.Acknowledge();
- SendDurableMessage();
msg = consumer.Receive(receiveTimeout);
Assert.IsNotNull(msg, "Did not receive second durable
message.");