xds-k8s: Fix incorrect type hint in the baseline test (#29577)

pull/29534/head^2
Sergii Tkachenko 3 years ago committed by GitHub
parent 4bcfbcd802
commit f36e84f093
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      tools/run_tests/xds_k8s_test_driver/tests/baseline_test.py

@ -44,16 +44,14 @@ class BaselineTest(xds_k8s_testcase.RegularXdsKubernetesTestCase):
with self.subTest('4_create_forwarding_rule'):
self.td.create_forwarding_rule(self.server_xds_port)
test_servers: _XdsTestServer
with self.subTest('5_start_test_server'):
test_servers = self.startTestServers()
test_server: _XdsTestServer = self.startTestServers()[0]
with self.subTest('6_add_server_backends_to_backend_service'):
self.setupServerBackends()
test_client: _XdsTestClient
with self.subTest('7_start_test_client'):
test_client = self.startTestClient(test_servers[0])
test_client: _XdsTestClient = self.startTestClient(test_server)
with self.subTest('8_test_client_xds_config_exists'):
self.assertXdsConfigExists(test_client)

Loading…
Cancel
Save