func agentRPCTestStartSlavePanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { err := client.StartSlave(ctx, tablet) expectRPCWrapLockPanic(t, err) }
func agentRPCTestStartSlavePanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { err := client.StartSlave(ctx, tablet) expectHandleRPCPanic(t, "StartSlave", true /*verbose*/, err) }
func agentRPCTestStartSlave(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { err := client.StartSlave(ctx, tablet) compareError(t, "StartSlave", err, true, testStartSlaveCalled) }
func agentRpcTestStartSlave(t *testing.T, client tmclient.TabletManagerClient, ti *topo.TabletInfo) { err := client.StartSlave(ti, time.Minute) compareError(t, "StartSlave", err, true, testStartSlaveCalled) }