diff --git a/src/python/grpcio_tests/tests/_result.py b/src/python/grpcio_tests/tests/_result.py index 6f621d7e75e..151c621fb6f 100644 --- a/src/python/grpcio_tests/tests/_result.py +++ b/src/python/grpcio_tests/tests/_result.py @@ -15,6 +15,7 @@ from __future__ import absolute_import import collections +import datetime import io import itertools import traceback @@ -295,7 +296,9 @@ class TerminalResult(CoverageResult): """See unittest.TestResult.startTestRun.""" super(TerminalResult, self).startTestRun() self.out.write( - _Colors.HEADER + "Testing gRPC Python...\n" + _Colors.END + _Colors.HEADER + + "[{}]Testing gRPC Python...\n".format(datetime.datetime.now()) + + _Colors.END ) def stopTestRun(self): @@ -324,7 +327,11 @@ class TerminalResult(CoverageResult): """See unittest.TestResult.addSuccess.""" super(TerminalResult, self).addSuccess(test) self.out.write( - _Colors.OK + "SUCCESS {}\n".format(test.id()) + _Colors.END + _Colors.OK + + "[{}]SUCCESS {}\n".format( + datetime.datetime.now(), test.id() + ) + + _Colors.END ) self.out.flush() diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index e9c9b926143..8f265a34540 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -719,7 +719,7 @@ class PythonLanguage(object): self.config.job_spec( python_config.run + [self._TEST_COMMAND[io_platform]], - timeout_seconds=8 * 60, + timeout_seconds=10 * 60, environ=dict( GRPC_PYTHON_TESTRUNNER_FILTER=str(test_case), **environment,