Skip affinity tests for Golang clients (#26771)

pull/26774/head
Lidi Zheng 3 years ago committed by GitHub
parent 7eaf37bce5
commit f31d8a2fb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      tools/run_tests/xds_k8s_test_driver/tests/url_map/affinity_test.py

@ -16,7 +16,9 @@ import time
from typing import Tuple
from absl import flags
from absl.testing import absltest
from framework import xds_k8s_flags
from framework import xds_url_map_testcase
from framework.rpc import grpc_channelz
from framework.test_app import client_app
@ -51,6 +53,9 @@ _TEST_METADATA = (
_ChannelzChannelState = grpc_channelz.ChannelState
@absltest.skipUnless('cpp-client' in xds_k8s_flags.CLIENT_IMAGE.value or \
'java-client' in xds_k8s_flags.CLIENT_IMAGE.value,
'Affinity is currently only implemented in C++ and Java.')
class TestHeaderBasedAffinity(xds_url_map_testcase.XdsUrlMapTestCase):
@staticmethod

Loading…
Cancel
Save