gemmellr commented on code in PR #6119:
URL: https://github.com/apache/artemis/pull/6119#discussion_r2609835839


##########
tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/ActiveMQServerControlTest.java:
##########
@@ -4385,10 +4386,9 @@ public void testListConsumers() throws Exception {
          assertNotEquals("", 
jsonConsumer.getString(ConsumerField.MESSAGES_DELIVERED.getName()), 
"messagesDelivered");
          assertNotEquals("", 
jsonConsumer.getString(ConsumerField.MESSAGES_DELIVERED_SIZE.getName()), 
"messagesDeliveredSize");
          assertNotEquals("", 
jsonConsumer.getString(ConsumerField.MESSAGES_ACKNOWLEDGED.getName()), 
"messagesAcknowledged");
-         assertEquals(0, 
jsonConsumer.getInt(ConsumerField.LAST_DELIVERED_TIME.getName()), 
"lastDeliveredTime");
-         assertEquals(0, 
jsonConsumer.getInt(ConsumerField.LAST_ACKNOWLEDGED_TIME.getName()), 
"lastAcknowledgedTime");
+         assertNotEquals("", 
jsonConsumer.getString(ConsumerField.LAST_DELIVERED_TIME.getName()), 
"lastDeliveredTime");
+         assertNotEquals("", 
jsonConsumer.getString(ConsumerField.LAST_ACKNOWLEDGED_TIME.getName()), 
"lastAcknowledgedTime");

Review Comment:
   Similarly, I think ISO-8601 or epoch millis with local formatting would 
probably be a better idea since they are easier to parse or more adaptable.
   
   These values may have been added for the console but I fully expect other 
uses are in play. In either case, I don't think the first Apache Artemis 
transitional release is the best time to make a breaking change.
   
   I'm going to revert 
https://github.com/apache/artemis/commit/0500c4eab466620dd4aff8adaca9d0102d38ef22
 from #6079 while we decide what is done and when.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to