diff --git a/pkg/kv/kvclient/kvcoord/replica_slice_test.go b/pkg/kv/kvclient/kvcoord/replica_slice_test.go index 4a861b9e6fc9..2bbf33a3b5ba 100644 --- a/pkg/kv/kvclient/kvcoord/replica_slice_test.go +++ b/pkg/kv/kvclient/kvcoord/replica_slice_test.go @@ -193,17 +193,6 @@ func TestReplicaSliceOptimizeReplicaOrder(t *testing.T) { { name: "order by locality matching", node: nodeDesc(t, 1, []string{"country=us", "region=west", "city=la"}), - slice: ReplicaSlice{ - info(t, 2, 2, []string{"country=us", "region=west", "city=sf"}), - info(t, 3, 3, []string{"country=uk", "city=london"}), - info(t, 3, 33, []string{"country=uk", "city=london"}), - info(t, 4, 4, []string{"country=us", "region=east", "city=ny"}), - }, - expOrdered: []roachpb.NodeID{2, 4, 3}, - }, - { - name: "order by locality matching, put node first", - node: nodeDesc(t, 1, []string{"country=us", "region=west", "city=la"}), slice: ReplicaSlice{ info(t, 1, 1, []string{"country=us", "region=west", "city=la"}), info(t, 2, 2, []string{"country=us", "region=west", "city=sf"}),