File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 1818from absl import flags
1919from absl import logging
2020from absl .testing import absltest
21- from typing_extensions import override
2221
2322from framework import xds_k8s_testcase
2423from framework .helpers import skips
2524
2625flags .adopt_module_key_flags (xds_k8s_testcase )
26+ # Change the default value of --compute_api_version to v1alpha.
27+ # Subsetting test requires Compute v1alpha APIs.
28+ # Can be tested with another API version if the flag is passed to the test.
29+ flags .set_default (xds_k8s_testcase .xds_flags .COMPUTE_API_VERSION , "v1alpha" )
2730
2831# Type aliases
2932_XdsTestServer = xds_k8s_testcase .XdsTestServer
3538
3639
3740class SubsettingTest (xds_k8s_testcase .RegularXdsKubernetesTestCase ):
38- @classmethod
39- @override
40- def setUpClass (cls ):
41- # TODO(sergiitk): use when absl updated to 1.3.0+, also set
42- # flags.set_default(xds_flags.COMPUTE_API_VERSION, 'v1alpha')
43- super ().setUpClass ()
44- cls .compute_api_version = "v1alpha"
45-
4641 @staticmethod
4742 def is_supported (config : skips .TestConfig ) -> bool :
4843 # Subsetting is an experimental feature where most work is done on the
You can’t perform that action at this time.
0 commit comments