-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Speed-up some tests and fixing some lint reports. #5258
Conversation
Tests were executed against the parent commit of when they were added to make sure that the tuning is not affecting the reproducibility of the test. Note that some of the tests were sometimes not detecting the bug, even when running with `-count=xxx`, so in that case, it is difficult to know if the tuning would prevent detection if the bug were to be reintroduced. The FileStore and MsgTrace tests were also added as a matrix run in Travis/GA. Signed-off-by: Ivan Kozlovic <[email protected]>
Signed-off-by: Ivan Kozlovic <[email protected]>
@derekcollison I started looking at some outlier in term of duration and manually tuned some of them (started with TestNoRace ones). I could not really make the overall duration fall that much. I have separated FileStore and MsgTrace tests as separate runs in Travis, not sure if this is something that you will agree with. If you do, there maybe more to do to bring some of the matrix runs down to 5/6 minutes as opposed to 9+ as they are now. |
Signed-off-by: Ivan Kozlovic <[email protected]>
Excluded the files that were auto-generated (with a do not edit comment). Signed-off-by: Ivan Kozlovic <[email protected]>
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.
LGTM
Should I do normal merge or squash merge? |
@derekcollison I would do simple merge (I would want the interface{}->any stay as its own commit) |
Tests were executed against the parent commit of when they were
added to make sure that the tuning is not affecting the reproducibility
of the test. Note that some of the tests were sometimes not detecting
the bug, even when running with
-count=xxx
, so in that case, itis difficult to know if the tuning would prevent detection if the
bug were to be reintroduced.
The FileStore and MsgTrace tests were also added as a matrix run
in Travis/GA.
Signed-off-by: Ivan Kozlovic [email protected]