Skip to content

Commit

Permalink
fix(test): fix meta recovery test
Browse files Browse the repository at this point in the history
  • Loading branch information
xzhseh authored and zwang28 committed Sep 28, 2023
1 parent dc6865c commit 69af0f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/backup/integration_tests/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function drop_mvs() {

function backup() {
local job_id
job_id=$(${BACKUP_TEST_RW_ALL_IN_ONE} risectl meta backup-meta 2>&1 | grep "backup job succeeded" | awk '{print $(NF)}')
job_id=$(${BACKUP_TEST_RW_ALL_IN_ONE} risectl meta backup-meta 2>&1 | grep "backup job succeeded" | awk -F ',' '{print $(NF-1)}'| awk '{print $(NF)}')
[ -n "${job_id}" ]
echo "${job_id}"
}
Expand Down

0 comments on commit 69af0f2

Please sign in to comment.