[
https://issues.apache.org/jira/browse/DISPATCH-1666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17265203#comment-17265203
]
Ken Giusti commented on DISPATCH-1666:
--------------------------------------
[https://docs.python.org/3/library/unittest.html#unittest.TestCase.setUp]
Apparently invoked prior to each test. A candidate for the popen.poll() test?
> Self test system detects and reports crashed qdrouterd instances
> ----------------------------------------------------------------
>
> Key: DISPATCH-1666
> URL: https://issues.apache.org/jira/browse/DISPATCH-1666
> Project: Qpid Dispatch
> Issue Type: Improvement
> Components: Tests
> Affects Versions: 1.12.0
> Reporter: Charles E. Rolke
> Assignee: Ken Giusti
> Priority: Major
>
> When a *TestCase* creates a router through *cls.tester.qdrouterd* then the
> test framework could detect that the router is no longer running normally and
> fail the test with a "this router has exited" message.
> When a router crashes there may be a series of test failure messages as in
> DISPATCH-1660. Yes the tests failed and yes the test timed out. But the most
> important thing that happened is that a router crashed with an assert.
> With a notification that there is a crash then debug focus can switch
> immediately to generating a usable core dump and getting a backtrace in the
> environment where the test has failed. The responsibility of getting the dump
> and backtrace might then be shared by CI administrators and not fall back to
> the developer who wrote the self test.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]