From d8dd893849d0a75ff74a1f2ee846a19a1822d403 Mon Sep 17 00:00:00 2001 From: Matt Lord Date: Sat, 28 Dec 2024 07:55:31 -0500 Subject: [PATCH] One more spot Signed-off-by: Matt Lord --- go/test/endtoend/cluster/cluster_util.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go/test/endtoend/cluster/cluster_util.go b/go/test/endtoend/cluster/cluster_util.go index cfc2071a746..d449b4c64f7 100644 --- a/go/test/endtoend/cluster/cluster_util.go +++ b/go/test/endtoend/cluster/cluster_util.go @@ -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 }