From aeece71f7ba1d600c1260568ef2b873c41bcda1d Mon Sep 17 00:00:00 2001 From: Kevin Cao Date: Tue, 8 Oct 2024 16:30:01 -0400 Subject: [PATCH] multiregionccl: update tests to new `BACKUP`/`RESTORE` syntax Several tests still use the old `BACKUP`/`RESTORE` syntax. This patch updates some of the tests to the new `BACKUP INTO` and `RESTORE FROM ... IN ...` syntax. Epic: none Release note: None --- pkg/ccl/multiregionccl/region_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/ccl/multiregionccl/region_test.go b/pkg/ccl/multiregionccl/region_test.go index 012fe8891605..51c0e84cbe84 100644 --- a/pkg/ccl/multiregionccl/region_test.go +++ b/pkg/ccl/multiregionccl/region_test.go @@ -932,8 +932,8 @@ func testRegionAddDropWithConcurrentBackupOps( }{ { name: "backup-database", - backupOp: `BACKUP DATABASE db TO 'nodelocal://1/db_backup'`, - restoreOp: `RESTORE DATABASE db FROM 'nodelocal://1/db_backup'`, + backupOp: `BACKUP DATABASE db INTO 'nodelocal://1/db_backup'`, + restoreOp: `RESTORE DATABASE db FROM LATEST IN 'nodelocal://1/db_backup'`, }, }