[
https://issues.apache.org/jira/browse/QPID-7076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15153967#comment-15153967
]
Gordon Sim commented on QPID-7076:
----------------------------------
Thanks for the patch! Unfortunately as submitted, it does not apply:
{noformat}
$ patch -p1 --dry-run < ../../qpid-cpp-benchmark-nonetype-exception.patch
(Stripping trailing CRs from patch; use --binary to disable.)
checking file src/tests/qpid-cpp-benchmark
Hunk #1 FAILED at 349.
1 out of 1 hunk FAILED
{noformat}
It looks as if it may be a patch against an intermediate change that you made,
rather than against the latest trunk. Could you please update it and
re-attach? Thanks again!
> qpid-cpp-benchmark throw exception when the number of senders or receivers is
> zero
> ----------------------------------------------------------------------------------
>
> Key: QPID-7076
> URL: https://issues.apache.org/jira/browse/QPID-7076
> Project: Qpid
> Issue Type: Test
> Components: Python Test Suite
> Affects Versions: qpid-cpp-0.34
> Reporter: ylg
> Assignee: Gordon Sim
> Priority: Critical
> Attachments: qpid-cpp-benchmark-nonetype-exception.patch
>
>
> ./qpid-cpp-benchmark -b vm92 -r 10 -s 0 -q 1 --summarize
> send-tp recv-tp l-min l-max l-avg total-tp
> Traceback (most recent call last):
> File "./qpid-cpp-benchmark", line 362, in <module>
> if __name__ == "__main__": main()
> File "./qpid-cpp-benchmark", line 352, in main
> for p in senders + receivers: p.wait()
> AttributeError: 'NoneType' object has no attribute 'wait'
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]