Skip to content
Permalink
Browse files
Fix test to reset read-only flag for sent messages.
  • Loading branch information
Jim Gomes committed Aug 16, 2010
1 parent 4cfbd5e commit 5829306bcad9381b79ba62c452f2d8e3e3c09ec6
Showing 1 changed file with 1 addition and 0 deletions.
@@ -161,6 +161,7 @@ public void TestTmpQueueWorksUnderLoad()
Assert.AreEqual(i, message2.Properties.GetInt("c"));
message = list[i] as IBytesMessage;
Assert.IsNotNull(message);
message.Reset();
message.ReadBytes(data);
message2.ReadBytes(data2);
Assert.AreEqual(data, data2);

0 comments on commit 5829306

Please sign in to comment.