-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: TapReporter fixes #2647
test: TapReporter fixes #2647
Conversation
Is there a thing called |
@@ -285,7 +289,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_s: %d.%d' % (total_seconds, duration.microseconds / 1000)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, this is wrong, it doesn't mean "duration in milliseconds", it means "duration with milliseconds"
1767cd8
to
f79f171
Compare
@jbergstroem no it looks like this
|
LGTM; it'll make reading a single test output easier (ref https://ci.nodejs.org/job/node-test-commit-arm/444/nodes=pi2-raspbian-wheezy-1_of_2/tapTestReport/test.tap-428/) |
Should we print it in the next line or on the same line as the status? |
@thefourtheye happy with both. I guess it'd be more consistent to put it on the same line, similar to how we output skip. |
I put it on the next line because I thought it's different to |
@skomski what about |
ping @skomski |
@jbergstroem why duplicate |
@skomski the later. |
@jbergstroem I did not look at the tap specification before: http://testanything.org/tap-specification.html
The only defined directives are |
Merge? |
Hey, sorry. Fell out out of scope. Should play well with tap version 13. LGTM. It'd be good to get someone else's opinion as well; @thefourtheye? |
lgtm |
LGTM. Just tested it in my machine.
|
Cool. I'll merge. |
Merged in 10924ce. Closing |
Be slightly more verbose in cases where tests time out. PR-URL: #2647 Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Be slightly more verbose in cases where tests time out. PR-URL: #2647 Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
test: report timeout in TapReporter
Before: https://ci.nodejs.org/job/node-test-commit-arm/433/nodes=pi1-raspbian-wheezy-2_of_2/tapTestReport/test.tap-336/