Add more debugging in test script
@@ -193,6 +193,7 @@ run_finalizer() {
if [ ${EXIT_CODE} -ne 0 ]; then
echo -e "\e[1;41;97mFinalizer FAILED\e[0m"
echo "See log ${LOGS_DIR}/finalizer.log for more details"
+ tail -n 50 ${LOGS_DIR}/finalizer.log
exit ${EXIT_CODE}
fi
}
@@ -261,6 +262,8 @@ verify() {
echo "Success file count: $count"
if [ "$count" != "$2" ]; then
echo -e "\e[1;41;97m_SUCCESS files not as expected: $2 \e[0m"
+ echo "See log ${LOGS_DIR}/finalizer.log for more details"
+ tail -n 50 ${LOGS_DIR}/finalizer.log
exit 1
fi
done
