From 440e9b79bfdaed986f89003fd8827910bcd87a77 Mon Sep 17 00:00:00 2001 From: "Mark D. Roth" Date: Mon, 20 May 2019 07:50:03 -0700 Subject: [PATCH] Fix bug in test health check service implementation. --- test/cpp/end2end/test_health_check_service_impl.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/test/cpp/end2end/test_health_check_service_impl.cc b/test/cpp/end2end/test_health_check_service_impl.cc index 0801e301996..5898527a6cd 100644 --- a/test/cpp/end2end/test_health_check_service_impl.cc +++ b/test/cpp/end2end/test_health_check_service_impl.cc @@ -54,6 +54,7 @@ Status HealthCheckServiceImpl::Watch( } if (response.status() != last_state) { writer->Write(response, ::grpc::WriteOptions()); + last_state = response.status(); } } gpr_sleep_until(gpr_time_add(gpr_now(GPR_CLOCK_MONOTONIC),