Skip to content

Commit

Permalink
Add another perms update
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Lord <[email protected]>
  • Loading branch information
mattlord committed Feb 5, 2025
1 parent e3ded76 commit ed68b34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/endtoend/backup_schedule_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ function verifyListBackupsOutputWithSchedule() {
for i in {1..6} ; do
# Ensure that we can view the backup files from the host.
docker exec -it $(docker container ls --format '{{.Names}}' | grep kind) chmod o+rwx -R /backup > /dev/null

backupCount=$(kubectl get vtb --no-headers | wc -l)
echo "Found ${backupCount} backups"
if [[ "${backupCount}" -ge 7 ]]; then
Expand Down
2 changes: 2 additions & 0 deletions test/endtoend/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ function takeBackup() {

function verifyListBackupsOutput() {
for i in {1..30} ; do
# Ensure that we can view the backup files from the host.
docker exec -it $(docker container ls --format '{{.Names}}' | grep kind) chmod o+rwx -R /backup > /dev/null
backupCount=$(kubectl get vtb --no-headers | wc -l)
out=$(vtctldclient GetBackups "$keyspaceShard" | wc -l)
echo "$out" | grep "$backupCount" > /dev/null 2>&1
Expand Down

0 comments on commit ed68b34

Please sign in to comment.