func agentRPCTestStopSlavePanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { err := client.StopSlave(ctx, tablet) expectRPCWrapLockPanic(t, err) }
func agentRPCTestStopSlavePanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { err := client.StopSlave(ctx, tablet) expectHandleRPCPanic(t, "StopSlave", true /*verbose*/, err) }
func agentRPCTestStopSlave(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { err := client.StopSlave(ctx, tablet) compareError(t, "StopSlave", err, true, testStopSlaveCalled) }
func agentRpcTestStopSlave(t *testing.T, client tmclient.TabletManagerClient, ti *topo.TabletInfo) { err := client.StopSlave(ti, time.Minute) compareError(t, "StopSlave", err, true, testStopSlaveCalled) }