@@ -144,7 +144,7 @@ func TestBackupRestoreStatementResult(t *testing.T) {
144144 // have been stored in the GZip compressed format.
145145 t .Run ("GZipBackupManifest" , func (t * testing.T ) {
146146 backupDir := fmt .Sprintf ("%s/foo" , dir )
147- backupManifestFile := backupDir + backupPath + "/" + backupbase .BackupManifestName
147+ backupManifestFile := backupDir + backupPath + "/" + backupbase .DeprecatedBackupManifestName
148148 backupManifestBytes , err := os .ReadFile (backupManifestFile )
149149 if err != nil {
150150 t .Fatal (err )
@@ -668,7 +668,7 @@ func TestBackupRestoreAppend(t *testing.T) {
668668 // Find the backup times in the collection and try RESTORE'ing to each, and
669669 // within each also check if we can restore to individual times captured with
670670 // incremental backups that were appended to that backup.
671- fullBackup1 , fullBackup2 := findFullBackupPaths (tmpDir , path .Join (tmpDir , "*/*/*/" + backupbase .BackupManifestName ))
671+ fullBackup1 , fullBackup2 := findFullBackupPaths (tmpDir , path .Join (tmpDir , "*/*/*/" + backupbase .DeprecatedBackupManifestName ))
672672
673673 sqlDB .Exec (t , "DROP DATABASE data CASCADE" )
674674 sqlDB .Exec (t , "RESTORE DATABASE data FROM $4 IN ($1, $2, $3) AS OF SYSTEM TIME " + tsBefore ,
@@ -740,7 +740,7 @@ func TestBackupAndRestoreJobDescription(t *testing.T) {
740740 sqlDB .Exec (t , "BACKUP INTO ($1, $2, $3) AS OF SYSTEM TIME '-1s'" , collections ... )
741741
742742 // Find the subdirectory created by the full BACKUP INTO statement.
743- matches , err := filepath .Glob (path .Join (tmpDir , "full/*/*/*/" + backupbase .BackupManifestName ))
743+ matches , err := filepath .Glob (path .Join (tmpDir , "full/*/*/*/" + backupbase .DeprecatedBackupManifestName ))
744744 require .NoError (t , err )
745745 require .Equal (t , 2 , len (matches ))
746746 for i := range matches {
@@ -1786,7 +1786,7 @@ func TestBackupRestoreResume(t *testing.T) {
17861786
17871787 // If the backup properly took the (incorrect) checkpoint into account, it
17881788 // won't have tried to re-export any keys within backupCompletedSpan.
1789- backupManifestFile := path .Join (dir , item .testName , subdir , backupbase .BackupManifestName )
1789+ backupManifestFile := path .Join (dir , item .testName , subdir , backupbase .DeprecatedBackupManifestName )
17901790 backupManifestBytes , err := os .ReadFile (backupManifestFile )
17911791 if err != nil {
17921792 t .Fatal (err )
@@ -4000,7 +4000,7 @@ func TestBackupRestoreChecksum(t *testing.T) {
40004000
40014001 var backupManifest backuppb.BackupManifest
40024002 {
4003- backupManifestBytes , err := os .ReadFile (filepath .Join (dir , backupPath , backupbase .BackupManifestName ))
4003+ backupManifestBytes , err := os .ReadFile (filepath .Join (dir , backupPath , backupbase .DeprecatedBackupManifestName ))
40044004 if err != nil {
40054005 t .Fatalf ("%+v" , err )
40064006 }
@@ -10419,7 +10419,7 @@ func TestBackupDoNotIncludeViewSpans(t *testing.T) {
1041910419 // Read the backup manifest.
1042010420 var backupManifest backuppb.BackupManifest
1042110421 {
10422- backupManifestBytes , err := os .ReadFile (filepath .Join (dir , "foo" , res [0 ][0 ], backupbase .BackupManifestName ))
10422+ backupManifestBytes , err := os .ReadFile (filepath .Join (dir , "foo" , res [0 ][0 ], backupbase .DeprecatedBackupManifestName ))
1042310423 if err != nil {
1042410424 t .Fatalf ("%+v" , err )
1042510425 }
0 commit comments