Skip to content

Commit 72640cf

Browse files
committed
fix tests
1 parent 09df28c commit 72640cf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

e2e-tests/functions

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ wait_for_pbm_operations() {
250250
set +o xtrace
251251
echo -n "waiting for PBM operation to finish"
252252
retry=0
253-
until [[ $(kubectl_bin exec ${cluster}-rs0-0 -c backup-agent -- pbm status -o json -s running | jq -r .running.opID) == null ]]; do
253+
until [[ $(kubectl_bin exec ${cluster}-rs0-0 -c backup-agent -- /opt/percona/pbm-entry.sh pbm status -o json -s running | jq -r .running.opID) == null ]]; do
254254
if [ $retry -ge 540 ]; then
255255
echo max retry count $retry reached. something went wrong with PBM operations
256256
exit 1
@@ -262,7 +262,6 @@ wait_for_pbm_operations() {
262262
set_debug
263263
}
264264

265-
266265
run_restore() {
267266
local backup_name=$1
268267

0 commit comments

Comments
 (0)