Performance tests do not correctly populate the message with the given
MessageSize
----------------------------------------------------------------------------------
Key: QPID-2438
URL: https://issues.apache.org/jira/browse/QPID-2438
Project: Qpid
Issue Type: Bug
Components: Java Performance Tests
Affects Versions: 0.5, M4, M3, 0.6
Reporter: Martin Ritchie
Assignee: Martin Ritchie
Priority: Critical
Fix For: 0.7
The TestUtils class method createTestMessageOfSize does not actually create
messages of the requested size.
Requests for messages > 112 bytes will result in only 112 byte messages.
Message size requests of less than 112 bytes will result in a message of up to
12Kbytes.
It can be fixed by either:
1) Fixing the erroneous div and mod calculations,
2) Replacing the complex for loops with a single for loop from 0 to size,
3) using an empty byte array : new byte[size].
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]