Elapsed field computed when test times out
If you run
So, the field is produced for either test or package-level pass/fail events. When referring to a single test, the Elapsed field generally measures how long that one test took (which is good).
The last line of the tools output reads like:
So, it claims that
The test in fact ran for less than one second.
What version of Go are you using (
The text was updated successfully, but these errors were encountered:
I should add a guess about something potentially related: in the timeout case, there's no "--- PASS" or "--- FAIL" log line with timing info preceding the pass/fail event. I'm guessing the tool uses those when they're present (since I've noticed that it produces Elapsed calculations even when the input is not streamed into it, but comes from a file instead).