aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Juanli Shen <aspirinsjl@gmail.com>2018-08-30 09:34:44 -0700
committerGravatar GitHub <noreply@github.com>2018-08-30 09:34:44 -0700
commit4ee0f4c790f3b13dcfc8d55b21869140964d6de2 (patch)
tree8bfa7a7881b98d09e4f78c8f3c7c89ee6adee57c /tools
parent5ee9b5e7b547d0a82c84cc3767236ace8d5cd469 (diff)
parent14a858123d929d7eaa87bec00357fea938e75656 (diff)
Merge pull request #16512 from grpc/revert-16351-health_checking_service
Revert "Implement Watch method in health check service."
Diffstat (limited to 'tools')
-rwxr-xr-xtools/distrib/check_nanopb_output.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/tools/distrib/check_nanopb_output.sh b/tools/distrib/check_nanopb_output.sh
index 1c2ef9b768..6b98619c32 100755
--- a/tools/distrib/check_nanopb_output.sh
+++ b/tools/distrib/check_nanopb_output.sh
@@ -16,7 +16,6 @@
set -ex
readonly NANOPB_ALTS_TMP_OUTPUT="$(mktemp -d)"
-readonly NANOPB_HEALTH_TMP_OUTPUT="$(mktemp -d)"
readonly NANOPB_TMP_OUTPUT="$(mktemp -d)"
readonly PROTOBUF_INSTALL_PREFIX="$(mktemp -d)"
@@ -69,23 +68,6 @@ if ! diff -r "$NANOPB_TMP_OUTPUT" src/core/ext/filters/client_channel/lb_policy/
fi
#
-# checks for health.proto
-#
-readonly HEALTH_GRPC_OUTPUT_PATH='src/cpp/server/health'
-# nanopb-compile the proto to a temp location
-./tools/codegen/core/gen_nano_proto.sh \
- src/proto/grpc/health/v1/health.proto \
- "$NANOPB_HEALTH_TMP_OUTPUT" \
- "$HEALTH_GRPC_OUTPUT_PATH"
-# compare outputs to checked compiled code
-for NANOPB_OUTPUT_FILE in $NANOPB_HEALTH_TMP_OUTPUT/*.pb.*; do
- if ! diff "$NANOPB_OUTPUT_FILE" "src/cpp/server/health/$(basename $NANOPB_OUTPUT_FILE)"; then
- echo "Outputs differ: $NANOPB_HEALTH_TMP_OUTPUT vs $HEALTH_GRPC_OUTPUT_PATH"
- exit 2
- fi
-done
-
-#
# Checks for handshaker.proto and transport_security_common.proto
#
readonly HANDSHAKER_GRPC_OUTPUT_PATH='src/core/tsi/alts/handshaker'