Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pooknull committed Oct 11, 2023
1 parent 74660f9 commit 9080b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e-tests/functions
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ get_backup_name_by_job() {
check_jobs_and_pgbackups() {
local cluster=$1

mapfile -t job_names < <(kubectl get job -n "$NAMESPACE" -o jsonpath='{range .items[*]}{.metadata.name}{"\n"}{end}')
readarray -t job_names <<< "$(kubectl get job -n "$NAMESPACE" -o jsonpath='{range .items[*]}{.metadata.name}{"\n"}{end}')"

for ((i = 0; i < ${#job_names[@]}; i++)); do
job_name=${job_names[$i]}
Expand Down

0 comments on commit 9080b29

Please sign in to comment.