xds interop test: temporarily disable failover test (#30243)

Temporarily disable failover test for Java and Go
pull/30245/head^2
yifeizhuang 3 years ago committed by GitHub
parent a4f0ce13a7
commit d9708884e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      tools/run_tests/xds_k8s_test_driver/tests/failover_test.py

@ -18,6 +18,7 @@ from absl import flags
from absl.testing import absltest
from framework import xds_k8s_testcase
from framework.helpers import skips
from framework.infrastructure import k8s
from framework.test_app import server_app
@ -27,12 +28,20 @@ flags.adopt_module_key_flags(xds_k8s_testcase)
# Type aliases
_XdsTestServer = xds_k8s_testcase.XdsTestServer
_XdsTestClient = xds_k8s_testcase.XdsTestClient
_Lang = skips.Lang
class FailoverTest(xds_k8s_testcase.RegularXdsKubernetesTestCase):
REPLICA_COUNT = 3
MAX_RATE_PER_ENDPOINT = 100
@staticmethod
def is_supported(config: skips.TestConfig) -> bool:
# Test case implementation seems to be broken for Java and Go.
# Core (cpp and python), and Node seem to work fine.
# TODO(b/238226704): Remove when the test is fixed.
return config.client_lang not in _Lang.JAVA | _Lang.GO
def setUp(self):
super().setUp()
self.secondary_server_runner = server_app.KubernetesServerRunner(

Loading…
Cancel
Save