This repository was archived by the owner on Mar 1, 2026. It is now read-only.
Commit 056a2df
committed
Bug#34824457 logs missing on unclean process exit
If the router's integration tests fail with a unexpected exit-code,
they should dump logs on failure, but instead no logs are dumped.
That is caused by:
1. if the test failed, dump logs
2. check for clean exit.
That works as expected for normal-test failures, but not if the
monitored executable crashes after the test itself passed.
Change
------
- flip the order: first, check for clean exit, then dump logs on
failure.
- removed not-needed .dump_logs()
Change-Id: Iaa0cc56e64446444df789008a98d7c8e62e4e6071 parent 739bcdc commit 056a2df
2 files changed
Lines changed: 5 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| 60 | + | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
61 | 65 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 66 | + | |
70 | 67 | | |
71 | 68 | | |
72 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1225 | 1225 | | |
1226 | 1226 | | |
1227 | 1227 | | |
1228 | | - | |
1229 | | - | |
1230 | | - | |
1231 | | - | |
1232 | 1228 | | |
1233 | 1229 | | |
1234 | 1230 | | |
| |||
0 commit comments