-
Notifications
You must be signed in to change notification settings - Fork 4.8k
run the run policy test serially #16262
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
Conversation
|
|
||
| var _ = g.Describe("[builds][Slow] using build configuration runPolicy", func() { | ||
| // this test is very latency sensitive so run it by itself (serially). | ||
| var _ = g.Describe("[builds][Slow][Serial] using build configuration runPolicy", func() { |
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.
Since you're already making this change, might as well get rid of the assignment to var _. I don't see the need for that.
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.
hm. it's what we do in all our extended tests(not just the builds ones), I assumed it served some initialization purpose/magic.
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.
"The var _ = ... trick allows us to evaluate the Describe at the top level without having to wrap it in a func init() {}"
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.
ahh, true you don't need an init. Thx.
|
/lgtm |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bparees, csrwng The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
|
/retest |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest |
|
Automatic merge from submit-queue |
No description provided.