Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backup: cut user and table counts in cluster backup test #138087

Merged
merged 1 commit into from
Dec 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions pkg/backup/full_cluster_backup_restore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,12 @@ CREATE TABLE data2.foo (a int);

// Setup the system systemTablesToVerify to ensure that they are copied to the new cluster.
// Populate system.users.
numBatches := 100
numBatches := 5
usersPerBatch := 20
if util.RaceEnabled {
numBatches = 1
usersPerBatch = 5
}
usersPerBatch := 10
userID := 0
for b := 0; b < numBatches; b++ {
sqlDB.RunWithRetriableTxn(t, func(txn *gosql.Tx) error {
Expand Down Expand Up @@ -193,7 +194,7 @@ CREATE TABLE data2.foo (a int);

// Create a bunch of user tables on the restoring cluster that we're going
// to delete.
numTables := 50
numTables := 10
if util.RaceEnabled {
numTables = 2
}
Expand Down
Loading