From d413378e513c47a952f7979c74f4a4d9f144ca7d Mon Sep 17 00:00:00 2001 From: Gibson Fahnestock Date: Fri, 3 Jun 2016 11:49:04 +0100 Subject: [PATCH] test: change duration_ms to duration The test script (tools/test.py) logs duration as "duration_ms: x.y". This is confusing (as the duration is measured in seconds). New example output: duration: 0.212s PR-URL: https://github.com/nodejs/node/pull/7133 Reviewed-By: James M Snell Reviewed-By: Claudio Rodriguez Reviewed-By: Colin Ihrig Reviewed-By: Michael Dawson --- tools/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test.py b/tools/test.py index ab3da337bc6a24..7553da9a3c58c5 100755 --- a/tools/test.py +++ b/tools/test.py @@ -310,7 +310,7 @@ def HasRun(self, output): (duration.seconds + duration.days * 24 * 3600) * 10**6) / 10**6 logger.info(' ---') - logger.info(' duration_ms: %d.%d' % (total_seconds, duration.microseconds / 1000)) + logger.info(' duration: %d.%ds' % (total_seconds, duration.microseconds / 1000)) logger.info(' ...') def Done(self):