Skip to content

Commit

Permalink
fixup!test: rework to share principles with redis sample - dump servi…
Browse files Browse the repository at this point in the history
…ce logs
  • Loading branch information
o-orand committed Oct 2, 2024
1 parent 32dea18 commit 881a4c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,10 @@ echo "==========================================================================
echo "Dumping logs using docker logs cnb-app-container"
docker logs cnb-app-container 2>&1
ls -lrt *.log

if [ $exit_status -ne 0 ];then
echo "-------------------------------------------------------------------------------------------------"
echo "Dumping service logs"
docker logs $SERVICE_NAME-service -n 30 2>&1
fi
exit $exit_status

0 comments on commit 881a4c0

Please sign in to comment.