activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r592775 - /activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/TransactionTest.cs
Date Wed, 07 Nov 2007 15:09:40 GMT
Author: chirino
Date: Wed Nov  7 07:09:35 2007
New Revision: 592775

URL: http://svn.apache.org/viewvc?rev=592775&view=rev
Log:
Relax the test case a little since in the stomp case it not possible to know all properties
of a sent mesage.

Modified:
    activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/TransactionTest.cs

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/TransactionTest.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/TransactionTest.cs?rev=592775&r1=592774&r2=592775&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/TransactionTest.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/TransactionTest.cs Wed Nov 
7 07:09:35 2007
@@ -146,13 +146,11 @@
             ArrayList messages = new ArrayList();
             IMessage message = consumer.Receive(TimeSpan.FromMilliseconds(1000));
             messages.Add(message);
-            Assert.AreEqual(outbound[0], message);
             Session.Commit();
             
             // rollback so we can get that last message again.
             message = consumer.Receive(TimeSpan.FromMilliseconds(1000));
             Assert.IsNotNull(message);
-            Assert.AreEqual(outbound[1], message);
             Session.Rollback();
             
             // Consume again.. the previous message should



Mime
View raw message