From 9080b297e1a7ac7324c367a38061760a7882b25e Mon Sep 17 00:00:00 2001 From: Andrii Dema Date: Thu, 12 Oct 2023 00:09:39 +0300 Subject: [PATCH] fix tests --- e2e-tests/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e-tests/functions b/e2e-tests/functions index 7fd9662e54..0277297b4b 100644 --- a/e2e-tests/functions +++ b/e2e-tests/functions @@ -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]}