[test] add debug logging for packaging test

This commit is contained in:
Andy Bristol 2018-05-02 18:09:44 -07:00
parent b3516786ec
commit 824e648662
1 changed files with 2 additions and 1 deletions

View File

@ -55,8 +55,9 @@ echo 'y' | $ESHOME/bin/elasticsearch-setup-passwords auto
SETUP_AUTO
echo "$output" > /tmp/setup-passwords-output
[ "$status" -eq 0 ] || {
echo "Expected x-pack elasticsearch-setup-passwords tool exit code to be zero"
echo "Expected x-pack elasticsearch-setup-passwords tool exit code to be zero but got $status"
cat /tmp/setup-passwords-output
debug_collect_logs
false
}