Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Commit

Permalink
adding debug
Browse files Browse the repository at this point in the history
  • Loading branch information
paolomainardi committed Feb 13, 2018
1 parent f7f7b05 commit 4a98a6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions script/libtest.bash
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ verify_function() {
local -i counter=0
until make -sC examples ${make_task}; do
echo_info "FUNC ${func} failed. Retrying..."
echo_info "$(kubectl get pod -l function=${func})"
((counter=counter+1))
if [ "$counter" -ge 3 ]; then
echo_info "FUNC ${func} failed ${counter} times. Exiting"
Expand Down

0 comments on commit 4a98a6b

Please sign in to comment.