func agentRPCTestRunHealthCheckPanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { err := client.RunHealthCheck(ctx, tablet) expectRPCWrapPanic(t, err) }
func agentRPCTestRunHealthCheck(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { err := client.RunHealthCheck(ctx, tablet) if err != nil { t.Errorf("RunHealthCheck failed: %v", err) } }
func agentRPCTestRunHealthCheckPanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, ti *topo.TabletInfo) { err := client.RunHealthCheck(ctx, ti, testRunHealthCheckValue) expectRPCWrapPanic(t, err) }
func agentRPCTestRunHealthCheck(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, ti *topo.TabletInfo) { err := client.RunHealthCheck(ctx, ti, testRunHealthCheckValue) if err != nil { t.Errorf("RunHealthCheck failed: %v", err) } }
func agentRPCTestRunHealthCheckPanic(ctx context.Context, t *testing.T, client tmclient.TabletManagerClient, tablet *topodatapb.Tablet) { err := client.RunHealthCheck(ctx, tablet) expectHandleRPCPanic(t, "RunHealthCheck", false /*verbose*/, err) }
func agentRpcTestRunHealthCheck(t *testing.T, client tmclient.TabletManagerClient, ti *topo.TabletInfo) { err := client.RunHealthCheck(ti, testRunHealthCheckValue, time.Minute) if err != nil { t.Errorf("RunHealthCheck failed: %v", err) } }