[xDS interop] Limit subsetting test to master branch (#29904)

pull/29920/head
Lidi Zheng 3 years ago committed by GitHub
parent 6e2d7b984d
commit dd17960bc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      tools/run_tests/xds_k8s_test_driver/tests/subsetting_test.py

@ -22,6 +22,7 @@ from google.protobuf import json_format
from framework import xds_k8s_testcase
from framework import xds_url_map_testcase
from framework.helpers import skips
flags.adopt_module_key_flags(xds_k8s_testcase)
@ -36,6 +37,13 @@ _NUM_CLIENTS = 3
class SubsettingTest(xds_k8s_testcase.RegularXdsKubernetesTestCase):
@staticmethod
def isSupported(config: skips.TestConfig) -> bool:
# Subsetting is an experimental feature where most work is done on the
# server-side. We limit it to only run on master branch to save
# resources.
return config.version_ge('master')
def test_subsetting_basic(self) -> None:
with self.subTest('00_create_health_check'):
self.td.create_health_check()

Loading…
Cancel
Save