Skip to content

Commit

Permalink
wip - more debug
Browse files Browse the repository at this point in the history
Signed-off-by: Florent Poinsard <[email protected]>
  • Loading branch information
frouioui committed Mar 10, 2025
1 parent 7fb0000 commit 6c1f5ed
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/endtoend/backup_schedule_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@ function verifyListBackupsOutputWithSchedule() {
sleep 1
done
kubectl get pods -A
printBackupLogFiles
for vtop in $(kubectl get pods -n default --no-headers -o custom-columns=":metadata.name" | grep "vitess-operator") ; do
echo "Printing logs of $vtop with grep schedule"
kubectl logs -n default "$vtop" | grep "schedule
echo " "
echo " "
echo "Printing logs of $vtop with grep Schedule"
kubectl logs -n default "$vtop" | grep "Schedule
done
echo "Did not find at least 3 backups"
exit 1
}
Expand Down

0 comments on commit 6c1f5ed

Please sign in to comment.