func agentRPCTestIgnoreHealthError(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { err := client.IgnoreHealthError(ctx, tablet, testIgnoreHealthErrorValue) if err != nil { t.Errorf("IgnoreHealthError failed: %v", err) } }
func agentRPCTestIgnoreHealthErrorPanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { err := client.IgnoreHealthError(ctx, tablet, testIgnoreHealthErrorValue) expectRPCWrapPanic(t, err) }
func agentRPCTestIgnoreHealthErrorPanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { err := client.IgnoreHealthError(ctx, tablet, testIgnoreHealthErrorValue) expectHandleRPCPanic(t, "IgnoreHealthError", false /*verbose*/, err) }