From 1764b17bdde749f61d18874a1c55056019b6a5d0 Mon Sep 17 00:00:00 2001 From: Wenqi Mou Date: Sun, 24 Nov 2024 22:06:02 -0500 Subject: [PATCH] fix test Signed-off-by: Wenqi Mou --- br/pkg/restore/snap_client/systable_restore_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/br/pkg/restore/snap_client/systable_restore_test.go b/br/pkg/restore/snap_client/systable_restore_test.go index d5952135dbc5b..4af404293a1e7 100644 --- a/br/pkg/restore/snap_client/systable_restore_test.go +++ b/br/pkg/restore/snap_client/systable_restore_test.go @@ -36,7 +36,7 @@ func TestCheckSysTableCompatibility(t *testing.T) { cluster := mc g := gluetidb.New() client := snapclient.NewRestoreClient(cluster.PDClient, cluster.PDHTTPCli, nil, split.DefaultTestKeepaliveCfg) - err := client.Init(g, cluster.Storage) + err := client.InitConnections(g, cluster.Storage) require.NoError(t, err) info, err := cluster.Domain.GetSnapshotInfoSchema(math.MaxUint64)