Skip to content

Commit

Permalink
Fix TestRootWithInternalVtctld
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Lord <[email protected]>
  • Loading branch information
mattlord committed Jan 17, 2025
1 parent afbeb6b commit 78ca3e0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions go/cmd/vtctldclient/command/root_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import (
"vitess.io/vitess/go/vt/topo"
"vitess.io/vitess/go/vt/topo/memorytopo"
"vitess.io/vitess/go/vt/vtctl/localvtctldclient"
"vitess.io/vitess/go/vt/vttablet/tmclient"

vtctlservicepb "vitess.io/vitess/go/vt/proto/vtctlservice"
)
Expand Down Expand Up @@ -70,9 +69,6 @@ func TestRootWithInternalVtctld(t *testing.T) {
topo.RegisterFactory("test", factory)
origProtocol := command.VtctldClientProtocol
command.VtctldClientProtocol = "local"
tmclient.RegisterTabletManagerClientFactory("grpc", func() tmclient.TabletManagerClient {
return nil
})
baseArgs := []string{"vtctldclient", "--server", "internal", "--topo-implementation", "test"}

args := append([]string{}, os.Args...)
Expand Down

0 comments on commit 78ca3e0

Please sign in to comment.