Skip to content

Commit

Permalink
fix TestPreparingProgress
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <[email protected]>
  • Loading branch information
rleungx committed Nov 14, 2024
1 parent 665dee5 commit c26e782
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/server/api/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,8 @@ func TestPreparingProgress(t *testing.T) {
defer cancel()
cluster, err := tests.NewTestCluster(ctx, 1, func(conf *config.Config, _ string) {
conf.Replication.MaxReplicas = 1
// prevent scheduling
conf.Schedule.RegionScheduleLimit = 0
})
re.NoError(err)
defer cluster.Destroy()
Expand Down

0 comments on commit c26e782

Please sign in to comment.