@@ -144,7 +144,7 @@ func TestBackupRestoreStatementResult(t *testing.T) {
144
144
// have been stored in the GZip compressed format.
145
145
t .Run ("GZipBackupManifest" , func (t * testing.T ) {
146
146
backupDir := fmt .Sprintf ("%s/foo" , dir )
147
- backupManifestFile := backupDir + backupPath + "/" + backupbase .BackupManifestName
147
+ backupManifestFile := backupDir + backupPath + "/" + backupbase .DeprecatedBackupManifestName
148
148
backupManifestBytes , err := os .ReadFile (backupManifestFile )
149
149
if err != nil {
150
150
t .Fatal (err )
@@ -668,7 +668,7 @@ func TestBackupRestoreAppend(t *testing.T) {
668
668
// Find the backup times in the collection and try RESTORE'ing to each, and
669
669
// within each also check if we can restore to individual times captured with
670
670
// 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 ))
672
672
673
673
sqlDB .Exec (t , "DROP DATABASE data CASCADE" )
674
674
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) {
740
740
sqlDB .Exec (t , "BACKUP INTO ($1, $2, $3) AS OF SYSTEM TIME '-1s'" , collections ... )
741
741
742
742
// 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 ))
744
744
require .NoError (t , err )
745
745
require .Equal (t , 2 , len (matches ))
746
746
for i := range matches {
@@ -1786,7 +1786,7 @@ func TestBackupRestoreResume(t *testing.T) {
1786
1786
1787
1787
// If the backup properly took the (incorrect) checkpoint into account, it
1788
1788
// 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 )
1790
1790
backupManifestBytes , err := os .ReadFile (backupManifestFile )
1791
1791
if err != nil {
1792
1792
t .Fatal (err )
@@ -4000,7 +4000,7 @@ func TestBackupRestoreChecksum(t *testing.T) {
4000
4000
4001
4001
var backupManifest backuppb.BackupManifest
4002
4002
{
4003
- backupManifestBytes , err := os .ReadFile (filepath .Join (dir , backupPath , backupbase .BackupManifestName ))
4003
+ backupManifestBytes , err := os .ReadFile (filepath .Join (dir , backupPath , backupbase .DeprecatedBackupManifestName ))
4004
4004
if err != nil {
4005
4005
t .Fatalf ("%+v" , err )
4006
4006
}
@@ -10419,7 +10419,7 @@ func TestBackupDoNotIncludeViewSpans(t *testing.T) {
10419
10419
// Read the backup manifest.
10420
10420
var backupManifest backuppb.BackupManifest
10421
10421
{
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 ))
10423
10423
if err != nil {
10424
10424
t .Fatalf ("%+v" , err )
10425
10425
}
0 commit comments