Skip to content

Commit

Permalink
Add observability to test_packages
Browse files Browse the repository at this point in the history
  • Loading branch information
XuanWang-Amos committed Feb 22, 2024
1 parent d8a20df commit d8142aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/distrib/python/test_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ then
echo "Testing Python binary distribution"
ARCHIVES=("$EXTERNAL_GIT_ROOT"/input_artifacts/grpcio-[0-9]*.whl)
TOOLS_ARCHIVES=("$EXTERNAL_GIT_ROOT"/input_artifacts/grpcio_tools-[0-9]*.whl)
OBSERVABILITY_ARCHIVES=("$EXTERNAL_GIT_ROOT"/input_artifacts/grpcio_observability-[0-9]*.whl)
else
echo "Testing Python source distribution"
ARCHIVES=("$EXTERNAL_GIT_ROOT"/input_artifacts/grpcio-[0-9]*.tar.gz)
TOOLS_ARCHIVES=("$EXTERNAL_GIT_ROOT"/input_artifacts/grpcio-tools-[0-9]*.tar.gz)
OBSERVABILITY_ARCHIVES=("$EXTERNAL_GIT_ROOT"/input_artifacts/grpcio-observability-[0-9]*.tar.gz)
fi

HEALTH_ARCHIVES=("$EXTERNAL_GIT_ROOT"/input_artifacts/grpcio-health-checking-[0-9]*.tar.gz)
Expand Down Expand Up @@ -63,6 +65,7 @@ function at_least_one_installs() {
if [[ "$1" == "binary" ]]; then
validate_wheel_hashes "${ARCHIVES[@]}"
validate_wheel_hashes "${TOOLS_ARCHIVES[@]}"
validate_wheel_hashes "${OBSERVABILITY_ARCHIVES[@]}"
fi


Expand All @@ -75,6 +78,7 @@ at_least_one_installs "${TOOLS_ARCHIVES[@]}"
at_least_one_installs "${HEALTH_ARCHIVES[@]}"
at_least_one_installs "${REFLECTION_ARCHIVES[@]}"
at_least_one_installs "${TESTING_ARCHIVES[@]}"
at_least_one_installs "${OBSERVABILITY_ARCHIVES[@]}"


#
Expand Down

0 comments on commit d8142aa

Please sign in to comment.