-
-
Notifications
You must be signed in to change notification settings - Fork 611
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
[internal] Amend missing timeout
field in target generators
#16387
[internal] Amend missing timeout
field in target generators
#16387
Conversation
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.
💜
Oh, looks like the Maybe have the template field |
good catch, and thanks for the tip, templating the |
gave all the fields based on |
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.
Thank you!
Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
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.
Woohoo! Thanks! I love this new approach :)
(Feel free to merge when ready. We try to not merge other maintainers' code for them without explicit permission) |
Thanks for this change! Note for the future: The default commit message for a squash commit is pretty awful. It just lists the first lines of all the squashed commits. I highly recommend editing that message when you merge. Typically I delete all the cruft and paste in the original description (the first comment above). |
And while doing so, try to preserve/fix the I suppose that we don't really have documentation for "merging a PR": only creating one, so that would likely be useful. EDIT: Opened #16519. |
…uild#16387) * Amend missing test timeout field and update Python docs * Add missing overrides field to helm_unittest_tests and document test timeouts in other backends * Fix documentation and make all test timeout fields have the same help string * Update docs/markdown/Go/go.md Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com> * Update docs/markdown/Go/go.md Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com> * Remove reference to python backend in test timeouts * Add blank line Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
…16455) The implementation approach is based on the recommendations found in pantsbuild#15963 and, since this affects to several targets, similar as in pantsbuild#16387, where a base class for the field is created in core and then extended for each of the different target types.
Adds missing
timeout
field toscala_junit_tests
target and aligns the Shunit2 test timeout field with the same behaviour of the other backends that support test timeouts.Documentation for each of the backends has also been updated to show the fact that now timeouts are supported for their respective target types and that they can also be applied globally.