xds-k8s: Output logs timezone in the beginning of the tests (#28865)

pull/29905/head^2
Sergii Tkachenko 3 years ago committed by GitHub
parent dd17960bc8
commit 53ce85cc3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      tools/run_tests/xds_k8s_test_driver/framework/xds_k8s_testcase.py
  2. 3
      tools/run_tests/xds_k8s_test_driver/framework/xds_url_map_testcase.py

@ -93,6 +93,9 @@ class XdsKubernetesTestCase(absltest.TestCase, metaclass=abc.ABCMeta):
"""Hook method for setting up class fixture before running tests in
the class.
"""
logger.info('----- Testing %s -----', cls.__name__)
logger.info('Logs timezone: %s', time.localtime().tm_zone)
# Raises unittest.SkipTest if given client/server/version does not
# support current test case.
skips.evaluate_test_config(cls.isSupported)

@ -330,6 +330,9 @@ class XdsUrlMapTestCase(absltest.TestCase, metaclass=_MetaXdsUrlMapTestCase):
@classmethod
def setUpClass(cls):
logging.info('----- Testing %s -----', cls.__name__)
logging.info('Logs timezone: %s', time.localtime().tm_zone)
# Raises unittest.SkipTest if given client/server/version does not
# support current test case.
skips.evaluate_test_config(cls.is_supported)

Loading…
Cancel
Save