Skip to content

Commit

Permalink
fix(test): workaround #7367 (#7433)
Browse files Browse the repository at this point in the history
The meta backup-recovery test got stuck because frontend cannot receive expected error raised by compute node after #7367 when QUERY_MODE=local.
This PR `SET QUERY_MODE=distributed` to work around the problem temporarily.

Approved-By: hzxa21
  • Loading branch information
zwang28 authored Jan 17, 2023
1 parent 06f2cc3 commit 4878d5d
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 @@ -85,7 +85,7 @@ function execute_sql() {
local sql
sql=$1
echo "execute sql ${sql}"
echo "${sql}" | psql -h localhost -p 4566 -d dev -U root 2>&1
echo "SET QUERY_MODE=distributed;${sql}" | psql -h localhost -p 4566 -d dev -U root 2>&1
}

function get_max_committed_epoch() {
Expand Down

0 comments on commit 4878d5d

Please sign in to comment.