Example #1
0
func agentRpcTestReparentPosition(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, ti *topo.TabletInfo) {
	rsd, err := client.ReparentPosition(ctx, ti, &testReplicationPosition)
	compareError(t, "ReparentPosition", err, rsd, testRestartSlaveData)
}