You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2020/02/04 08:52:30 UTC

[GitHub] [activemq-nms-amqp] michaelpearce-gain commented on a change in pull request #53: AMQNET-634: Use 4 as default msg priority

michaelpearce-gain commented on a change in pull request #53: AMQNET-634: Use 4 as default msg priority
URL: https://github.com/apache/activemq-nms-amqp/pull/53#discussion_r374540801
 
 

 ##########
 File path: test/Apache-NMS-AMQP-Test/NmsMessageProducerTest.cs
 ##########
 @@ -77,7 +77,7 @@ public void TestGetDisableTimeStamp()
         public void TestPriorityConfiguration()
         {
             IMessageProducer producer = session.CreateProducer(null);
-            Assert.AreEqual(NMSConstants.defaultPriority, producer.Priority);
+            Assert.AreEqual(MsgPriority.BelowNormal, producer.Priority);
 
 Review comment:
   I would be explicit here with using int 4 (so we explicitly test the spec), rather than relying on a constant from outside the test pack, which it could change....

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services