activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tabish121 <>
Subject [GitHub] activemq-artemis pull request #2174: ARTEMIS-1941 fix failing tests
Date Fri, 06 Jul 2018 20:22:42 GMT
Github user tabish121 commented on a diff in the pull request:
    --- Diff: artemis-protocols/artemis-amqp-protocol/src/test/java/org/apache/activemq/artemis/protocol/amqp/converter/message/
    @@ -361,7 +361,7 @@ public void testConvertEmptyObjectMessageToAmqpMessageWithAmqpValueBody()
           assertTrue(amqp.getBody() instanceof AmqpValue);
           assertTrue(((AmqpValue) amqp.getBody()).getValue() instanceof Binary);
    -      assertEquals(0, ((Binary) ((AmqpValue) amqp.getBody()).getValue()).getLength());
    +      assertEquals(5, ((Binary) ((AmqpValue) amqp.getBody()).getValue()).getLength());
    --- End diff --
    I'm back to work on Monday and can look closer, a quite look at the equivalent tests in
5.x show that they all test for 0 as the expected length so I'm not sure why these are checking
for 5 now, that seems wrong to me but I'd have to look closer when I'm back.  


View raw message