summaryrefslogtreecommitdiff
path: root/buildscripts/resmoke.py
diff options
context:
space:
mode:
authorPeter Mauldin <peter.mauldin@mongodb.com>2017-06-02 11:08:47 -0400
committerPeter Mauldin <peter.mauldin@mongodb.com>2017-06-02 11:09:08 -0400
commit19a48549ee1eba1a00fd3477839859fbc0f27e22 (patch)
treee85319791d1ec3942844b5bcf03254d7d650be65 /buildscripts/resmoke.py
parent6473e5347d14a799ec97e648e5cfc463a84833aa (diff)
downloadmongo-19a48549ee1eba1a00fd3477839859fbc0f27e22.tar.gz
SERVER-24783 resmoke.py now prints running tests when encountering timeouts
Diffstat (limited to 'buildscripts/resmoke.py')
-rwxr-xr-xbuildscripts/resmoke.py13
1 files changed, 2 insertions, 11 deletions
diff --git a/buildscripts/resmoke.py b/buildscripts/resmoke.py
index c01baf91322..3098b251e9b 100755
--- a/buildscripts/resmoke.py
+++ b/buildscripts/resmoke.py
@@ -75,16 +75,7 @@ def _execute_suite(suite):
def _log_summary(logger, suites, time_taken):
if len(suites) > 1:
- sb = []
- sb.append("Summary of all suites: %d suites ran in %0.2f seconds"
- % (len(suites), time_taken))
- for suite in suites:
- suite_sb = []
- suite.summarize(suite_sb)
- sb.append(" %s: %s" % (suite.get_name(), "\n ".join(suite_sb)))
-
- logger.info("=" * 80)
- logger.info("\n".join(sb))
+ resmokelib.testing.suite.Suite.log_summaries(logger, suites, time_taken)
def _summarize_suite(suite):
@@ -154,7 +145,7 @@ def main():
# Register a signal handler or Windows event object so we can write the report file if the task
# times out.
- resmokelib.sighandler.register(resmoke_logger, suites)
+ resmokelib.sighandler.register(resmoke_logger, suites, start_time)
# Run the suite finder after the test suite parsing is complete.
if values.find_suites: