Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <[email protected]>
  • Loading branch information
rleungx committed Oct 21, 2024
1 parent 74f9c72 commit b556318
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/pd-backup/tests/backup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ func TestBackup(t *testing.T) {
err = cluster.RunInitialServers()
re.NoError(err)
re.NotEmpty(cluster.WaitLeader())
leaderServer := cluster.GetLeaderServer()
leaderServer.BootstrapCluster()
pdAddr := cluster.GetConfig().GetClientURL()
urls := strings.Split(pdAddr, ",")
defer cluster.Destroy()
Expand Down

0 comments on commit b556318

Please sign in to comment.