You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2010/03/09 11:00:27 UTC

[jira] Commented: (QPID-2438) Performance tests do not correctly populate the message with the given MessageSize

    [ https://issues.apache.org/jira/browse/QPID-2438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12842991#action_12842991 ] 

Martin Ritchie commented on QPID-2438:
--------------------------------------

Will just do fix 1.

> 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: M3, M4, 0.5, 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:dev-subscribe@qpid.apache.org