aboutsummaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2021-05-24 16:02:04 -0400
committerJake Hunsaker <jhunsake@redhat.com>2021-05-26 09:33:48 -0400
commit681a6ee9ac5b82e883c312273384fa9bbbd86681 (patch)
tree7a157cd933309c54d0232988f24dbc23da6316e8 /.cirrus.yml
parentf7105cdfe49e0e6893632f1277368871481de65d (diff)
downloadsos-681a6ee9ac5b82e883c312273384fa9bbbd86681.tar.gz
[tests] Improve failed command reporting in test output
Improves error reporting for failed sos commands by logging stderr (or stdout if stderr is not populated) to the console, which was previously being truncated by the builtin error handling of avocado. Printed output is limited to the last 8k to avoid dumping several MBs at a time for scenarios such as timeouts where command failure may generate significant logging prior to failing. Included with this are 2 minor changes to existing tests. First, remove verbose output from the expected plugins test to reduce otherwise irrelevant output for command failures. Second limit the number of plugins run for the LogLevelTest, both to reduce overall run time for a test where we aren't testing specific plugins and to improve readability of failures for such a test. Resolves: #2556 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to '.cirrus.yml')
0 files changed, 0 insertions, 0 deletions