(t *testing.T)
| 755 | } |
| 756 | |
| 757 | func (s) TestHealthCheckDisable(t *testing.T) { |
| 758 | _, lis, ts := setupServer(t, nil) |
| 759 | ts.SetServingStatus("foo", healthpb.HealthCheckResponse_SERVING) |
| 760 | |
| 761 | // test client side disabling configuration. |
| 762 | testHealthCheckDisableWithDialOption(t, lis.Addr().String()) |
| 763 | testHealthCheckDisableWithBalancer(t, lis.Addr().String()) |
| 764 | testHealthCheckDisableWithServiceConfig(t, lis.Addr().String()) |
| 765 | } |
| 766 | |
| 767 | func (s) TestHealthCheckChannelzCountingCallSuccess(t *testing.T) { |
| 768 | watchFunc := func(_ *testHealthServer, in *healthpb.HealthCheckRequest, _ healthgrpc.Health_WatchServer) error { |
nothing calls this directly
no test coverage detected