Repository navigation
Always output detailed e2e test results - #1335
Closed
bobcatfish wants to merge 1 commit into
Closed
bobcatfish wants to merge 1 commit into
bobcatfish wants to merge 1 commit into
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bobcatfish The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Contributor
Author
Contributor
|
The main goal was to track API call latency, not just test runtime. While we can start tracking test runtime as another useful kind of metric, my understanding is that this PR partially addressed #1008. |
We want to use our end to end tests to take some latency measurements over time. In our first pass, we want to do this at the granularity of a test, by tracking the time taken by each test. To do this, we want the output from running our e2e tests with prow to include a line with the time taken by a test and the name of a test. It turns out that running `go test` with `-v` will automatically include this information, so we basically get it for free, however we are currently supressing this when the tests succeed and only displaying it when they fail. This commit changes it to always output the duration of each individulal test, even when successful. One side effect is that the info logged by the tests (i.e. each "step" of the test) will also be included in successful test runs. We may want to adjust this in the future as more tests are added so that we can have verbose output without detailed steps being logged. Fixes #1008
bobcatfish
force-pushed
the
instrumenting
branch
from
June 24, 2018 23:14
2211055 to
ba6702d
Compare
Contributor
Author
I think we have some confusion about the requirements here, I'll start a thread offline. |
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


We want to use our end to end tests to take some latency measurements
over time. In our first pass, we want to do this at the granularity
of a test, by tracking the time taken by each test.
To do this, we want the output from running our e2e tests with prow
to include a line with the time taken by a test and the name of a test.
It turns out that running
go testwith-vwill automaticallyinclude this information, so we basically get it for free, however
we are currently supressing this when the tests succeed and only
displaying it when they fail.
This commit changes it to always output the duration of each
individulal test, even when successful.
One side effect is that the info logged by the tests (i.e. each
"step" of the test) will also be included in successful test runs.
We may want to adjust this in the future as more tests are added
so that we can have verbose output without detailed steps being logged.
Fixes #1008