[
https://issues.apache.org/jira/browse/DISPATCH-1536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17032640#comment-17032640
]
ASF subversion and git services commented on DISPATCH-1536:
-----------------------------------------------------------
Commit b282a284d6853acd14386f33a60d8b079dec93ec in qpid-dispatch's branch
refs/heads/master from Charles E. Rolke
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=b282a28 ]
NO-JIRA: Instrument MessageRouteAbortTest; use new test Logger
This patch adds debugability to system_tests_delivery_abort.
- Every test message is a different length
- Test message content is unique - a string of the message length
- Logging statements track test progress
A major frustration is a failure like DISPATCH-1559: some test fails
intermittently and the results of the assertion that fails the test is
*truncated*. It is an even harder problem when the failure is on some
remote CI system over which one has no control.
This patch is essentially the debug scaffolding that was required to
debug DISPATCH-1559. This patch uses the Logger added in DISPATCH-1536.
The log holds a narrative of exactly when (to the uS) each message was
sent or aborted from the client's view. Armed with this one can then
look into the router logs to see AMQP progress and diagnose the fault.
> Tests needs common utility for printing timestamped messages
> ------------------------------------------------------------
>
> Key: DISPATCH-1536
> URL: https://issues.apache.org/jira/browse/DISPATCH-1536
> Project: Qpid Dispatch
> Issue Type: Improvement
> Components: Tests
> Affects Versions: 1.10.0
> Reporter: Charles E. Rolke
> Assignee: Charles E. Rolke
> Priority: Major
> Fix For: 1.11.0
>
>
> Rather than using naked python print statements, a test-system utility could
> prefix the text with a timestamp and flush to stdout.
> The timestamp would correlate the test progress precisely with the router log
> files.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]