Skip to content

Commit 53ce85c

Browse files
authored
xds-k8s: Output logs timezone in the beginning of the tests (grpc#28865)
1 parent dd17960 commit 53ce85c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tools/run_tests/xds_k8s_test_driver/framework/xds_k8s_testcase.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ def setUpClass(cls):
9393
"""Hook method for setting up class fixture before running tests in
9494
the class.
9595
"""
96+
logger.info('----- Testing %s -----', cls.__name__)
97+
logger.info('Logs timezone: %s', time.localtime().tm_zone)
98+
9699
# Raises unittest.SkipTest if given client/server/version does not
97100
# support current test case.
98101
skips.evaluate_test_config(cls.isSupported)

tools/run_tests/xds_k8s_test_driver/framework/xds_url_map_testcase.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,9 @@ def path_matcher_name(cls):
330330

331331
@classmethod
332332
def setUpClass(cls):
333+
logging.info('----- Testing %s -----', cls.__name__)
334+
logging.info('Logs timezone: %s', time.localtime().tm_zone)
335+
333336
# Raises unittest.SkipTest if given client/server/version does not
334337
# support current test case.
335338
skips.evaluate_test_config(cls.is_supported)

0 commit comments

Comments
 (0)