1
1
/*
2
- Copyright 2019 The Vitess Authors.
2
+ Copyright 2025 The Vitess Authors.
3
3
4
4
Licensed under the Apache License, Version 2.0 (the "License");
5
5
you may not use this file except in compliance with the License.
@@ -26,7 +26,6 @@ import (
26
26
"vitess.io/vitess/go/vt/discovery"
27
27
"vitess.io/vitess/go/vt/topo/topoproto"
28
28
"vitess.io/vitess/go/vt/vtctl/grpcvtctldserver"
29
- "vitess.io/vitess/go/vt/vtctl/workflow/testlib"
30
29
"vitess.io/vitess/go/vt/vtenv"
31
30
32
31
"vitess.io/vitess/go/sqltypes"
@@ -52,8 +51,8 @@ func TestPermissions(t *testing.T) {
52
51
defer ts .Close ()
53
52
vtctld := grpcvtctldserver .NewVtctldServer (vtenv .NewTestEnv (), ts )
54
53
55
- primary := testlib . NewFakeTablet (t , ts , "cell1" , 0 , topodatapb .TabletType_PRIMARY , nil )
56
- replica := testlib . NewFakeTablet (t , ts , "cell1" , 1 , topodatapb .TabletType_REPLICA , nil )
54
+ primary := NewFakeTablet (t , ts , "cell1" , 0 , topodatapb .TabletType_PRIMARY , nil )
55
+ replica := NewFakeTablet (t , ts , "cell1" , 1 , topodatapb .TabletType_REPLICA , nil )
57
56
58
57
// Mark the primary for the shard.
59
58
_ , err := ts .UpdateShardFields (ctx , primary .Tablet .Keyspace , primary .Tablet .Shard , func (si * topo.ShardInfo ) error {
0 commit comments