summaryrefslogtreecommitdiff
path: root/buildscripts/resmokelib/testing/report.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildscripts/resmokelib/testing/report.py')
-rw-r--r--buildscripts/resmokelib/testing/report.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildscripts/resmokelib/testing/report.py b/buildscripts/resmokelib/testing/report.py
index 7dc355a4023..d16a37fcf23 100644
--- a/buildscripts/resmokelib/testing/report.py
+++ b/buildscripts/resmokelib/testing/report.py
@@ -125,6 +125,8 @@ class TestReport(unittest.TestResult): # pylint: disable=too-many-instance-attr
test_info.url_endpoint = url_endpoint
if self.logging_prefix is not None:
test_logger.info(self.logging_prefix)
+ # Set job_num in test.
+ test.job_num = self.job_num
test.override_logger(test_logger)
test_info.start_time = time.time()