func agentRPCTestResetReplication(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { err := client.ResetReplication(ctx, tablet) compareError(t, "ResetReplication", err, true, testResetReplicationCalled) }
func agentRPCTestResetReplicationPanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { err := client.ResetReplication(ctx, tablet) expectRPCWrapLockActionPanic(t, err) }
func agentRPCTestResetReplicationPanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { err := client.ResetReplication(ctx, tablet) expectHandleRPCPanic(t, "ResetReplication", true /*verbose*/, err) }