Skip to content

Commit

Permalink
fix options for BR
Browse files Browse the repository at this point in the history
  • Loading branch information
csuzhangxc committed Sep 20, 2024
1 parent d26dad7 commit 855c4b4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/e2e/br/framework/br/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,6 @@ func GetBackup(ns, name, tcName, typ string, s3Config *v1alpha1.S3StorageProvide
Cluster: tcName,
ClusterNamespace: ns,
SendCredToTikv: &sendCredToTikv,
Options: []string{
// ref: https://docs.pingcap.com/tidb/stable/backup-and-restore-overview#version-compatibility
"--with-sys-table=false",
},
},
CleanPolicy: v1alpha1.CleanPolicyTypeDelete,
},
Expand Down Expand Up @@ -169,6 +165,10 @@ func GetRestore(ns, name, tcName, typ string, s3Config *v1alpha1.S3StorageProvid
ClusterNamespace: ns,
SendCredToTikv: &sendCredToTikv,
CheckRequirements: pointer.BoolPtr(false), // workaround for https://docs.pingcap.com/tidb/stable/backup-and-restore-faq#why-does-br-report-new_collations_enabled_on_first_bootstrap-mismatch
Options: []string{
// ref: https://docs.pingcap.com/tidb/stable/backup-and-restore-overview#version-compatibility
"--with-sys-table=false",
},
},
},
}
Expand Down

0 comments on commit 855c4b4

Please sign in to comment.