Skip to content

Commit

Permalink
Show logs upon failure, to make debugging easier.
Browse files Browse the repository at this point in the history
  • Loading branch information
adelton committed Dec 12, 2024
1 parent f1b8d04 commit ae7b5a7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/run-master-and-replica.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ function wait_for_ipa_container() {
done
date
if [ "$EXIT_STATUS" -ne 0 ] ; then
if [ "$N" == "freeipa-replica" ] ; then
$sudo tail -100 $VOLUME/var/log/ipareplica-install.log
else
$sudo tail -100 $VOLUME/var/log/ipaserver-install.log
fi
echo '---'
$sudo tail -150 $VOLUME/var/log/ipaclient-install.log
exit "$EXIT_STATUS"
fi
if ! $sudo grep '^2' $VOLUME/volume-version ; then
Expand Down

0 comments on commit ae7b5a7

Please sign in to comment.