-
Notifications
You must be signed in to change notification settings - Fork 144
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
Proper support for the duration
format
#1972
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.
Looks good, we just need to extend the schema as well:
warn: /tests/core/smoke:duration - '1s 2s' does not match '^[0-9]+[smhd]$'
Proposing also a minor docs enhancement in 4a3ef75.
duration
format
duration
formatduration
format
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.
Thanks for the nice fix & improvement! Spec example simplified in 16dc695.
We claim to support same format as `sleep` commands so let's actually do it. Co-authored-by: Petr Šplíchal <[email protected]>
16dc695
to
748125d
Compare
We claim to support same format as
sleep
commands so let's actually do it.