[PSM Interop] Enable GAMMA test suite (#34193)

Enable `grpc/core/master/linux/psm-gamma` test job that runs GAMMA test
suite. Includes only the baseline test.
pull/34196/head
Sergii Tkachenko 2 years ago committed by GitHub
parent 2da74beb96
commit 430d358f70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      tools/internal_ci/linux/psm-gamma.sh
  2. 2
      tools/run_tests/xds_k8s_test_driver/config/gamma.cfg

@ -106,11 +106,11 @@ run_test() {
set -x set -x
python3 -m "tests.${test_name}" \ python3 -m "tests.${test_name}" \
--flagfile="${TEST_DRIVER_FLAGFILE}" \ --flagfile="${TEST_DRIVER_FLAGFILE}" \
--flagfile="config/gamma.cfg" \
--kube_context="${KUBE_CONTEXT}" \ --kube_context="${KUBE_CONTEXT}" \
--server_image="${SERVER_IMAGE_NAME}:${GIT_COMMIT}" \ --server_image="${SERVER_IMAGE_NAME}:${GIT_COMMIT}" \
--client_image="${CLIENT_IMAGE_NAME}:${GIT_COMMIT}" \ --client_image="${CLIENT_IMAGE_NAME}:${GIT_COMMIT}" \
--testing_version="${TESTING_VERSION}" \ --testing_version="${TESTING_VERSION}" \
--nocheck_local_certs \
--force_cleanup \ --force_cleanup \
--collect_app_logs \ --collect_app_logs \
--log_dir="${out_dir}" \ --log_dir="${out_dir}" \
@ -139,9 +139,6 @@ run_test() {
# Writes the output of test execution to stdout, stderr # Writes the output of test execution to stdout, stderr
####################################### #######################################
main() { main() {
# TODO(sergiitk): Just a stub to create a Kokoro job. Remove tests are ready.
exit 0
local script_dir local script_dir
script_dir="$(dirname "$0")" script_dir="$(dirname "$0")"
@ -162,7 +159,7 @@ main() {
cd "${TEST_DRIVER_FULL_DIR}" cd "${TEST_DRIVER_FULL_DIR}"
local failed_tests=0 local failed_tests=0
test_suites=( test_suites=(
"gamma.baseline_test" "gamma.gamma_baseline_test"
# "gamma.session_affinity_test" # "gamma.session_affinity_test"
) )
for test in "${test_suites[@]}"; do for test in "${test_suites[@]}"; do

@ -0,0 +1,2 @@
# Common config file for GAMMA PSM tests.
--resource_prefix=psm-gamma
Loading…
Cancel
Save