Beispiel #1
0
func agentRpcTestPromoteSlave(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, ti *topo.TabletInfo) {
	rsd, err := client.PromoteSlave(ctx, ti)
	compareError(t, "PromoteSlave", err, rsd, testRestartSlaveData)
}