Skip to content
Permalink
Browse files
Clean up the unit test
  • Loading branch information
Timothy A. Bish committed Aug 25, 2010
1 parent 0fa9a38 commit 129566f399f7f792ae581d1cb3cc3dd042f977a7
Showing 1 changed file with 1 addition and 1 deletion.
@@ -214,6 +214,7 @@ public class DurableTest : NMSTestSupport
protected void RunTestDurableConsumer(string clientId, AcknowledgementMode ackMode)
{
SendDurableMessage();
SendDurableMessage();

using(IConnection connection = CreateConnection(clientId))
{
@@ -226,7 +227,6 @@ protected void RunTestDurableConsumer(string clientId, AcknowledgementMode ackMo
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.");

0 comments on commit 129566f

Please sign in to comment.