aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/python_utils
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2018-09-25 23:36:19 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2018-09-25 23:36:19 +0200
commit2488dff74b808faf2e2a46e0f6b3579499b9983f (patch)
tree00da510be576e0fa49520852b5b90b4bdfc7ae83 /tools/run_tests/python_utils
parent58f167abebdcf8276da52ac295712c1a808ffca7 (diff)
address comments
Diffstat (limited to 'tools/run_tests/python_utils')
-rwxr-xr-xtools/run_tests/python_utils/jobset.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/run_tests/python_utils/jobset.py b/tools/run_tests/python_utils/jobset.py
index 35faed448d..a426c6ef9c 100755
--- a/tools/run_tests/python_utils/jobset.py
+++ b/tools/run_tests/python_utils/jobset.py
@@ -201,6 +201,7 @@ class JobSpec(object):
self.verbose_success = verbose_success
self.logfilename = logfilename
if self.logfilename and self.flake_retries != 0 and self.timeout_retries != 0:
+ # Forbidden to avoid overwriting the test log when retrying.
raise Exception(
'Cannot use custom logfile when retries are enabled')