예제 #1
0
func agentRpcTestReparentPosition(t *testing.T, client tmclient.TabletManagerClient, ti *topo.TabletInfo) {
	rsd, err := client.ReparentPosition(ti, &testReplicationPosition, time.Minute)
	compareError(t, "ReparentPosition", err, rsd, testRestartSlaveData)
}