Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.12.0
-
None
-
None
Description
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.