zebra/zebra-test
teor f46d0115e5
fix(test): Show full Zebra test panic details in CI logs (#4942)
* Handle test failure regexes using Result::Err, rather than panicking

* Add output logs to test context, and add tests for that

* Let empty test child logs be read again (and produce empty output)

* Ignore missing test children when killing with ignore_exited

* Fix a clippy lint

* Rename `line` to `line_result` for clarity

* Revert a redundant context_from() on kill()

* Only ignore "no such process" kill() errors in sync_until() tests

* Log the command timeout when an acceptance test fails

* fix clippy

Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-08-28 23:52:19 +00:00
..
scripts Security: Stop RocksDB or tokio calling unexpected code when zebrad exits (#3392) 2022-01-26 13:16:44 +00:00
src fix(test): Show full Zebra test panic details in CI logs (#4942) 2022-08-28 23:52:19 +00:00
tests fix(test): Show full Zebra test panic details in CI logs (#4942) 2022-08-28 23:52:19 +00:00
Cargo.toml fix(test): Show full Zebra test panic details in CI logs (#4942) 2022-08-28 23:52:19 +00:00