Skip to content

Commit

Permalink
One more spot
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Lord <mattalord@gmail.com>
  • Loading branch information
mattlord committed Dec 28, 2024
1 parent 4617172 commit d8dd893
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/test/endtoend/cluster/cluster_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,11 +380,11 @@ func ExecuteOnTablet(t *testing.T, query string, vttablet Vttablet, ks string, e
_, _ = vttablet.VttabletProcess.QueryTablet("commit", ks, true)
}

func WaitForTabletSetup(vtctlClientProcess *VtctlClientProcess, expectedTablets int, expectedStatus []string) error {
func WaitForTabletSetup(vtctldClientProcess *VtctldClientProcess, expectedTablets int, expectedStatus []string) error {
// wait for both tablet to get into replica state in topo
waitUntil := time.Now().Add(10 * time.Second)
for time.Now().Before(waitUntil) {
result, err := vtctlClientProcess.ExecuteCommandWithOutput("ListAllTablets")
result, err := vtctldClientProcess.ExecuteCommandWithOutput("GetTablets")
if err != nil {
return err
}
Expand Down

0 comments on commit d8dd893

Please sign in to comment.