-
Notifications
You must be signed in to change notification settings - Fork 176
[CI] Increase unit test job timeout #8493
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -351,7 +351,7 @@ def main() -> int: | |
| trigger_args.add_argument( | ||
| '--job_timeout_sec', | ||
| type=str, | ||
| default='2100', | ||
| default='2700', | ||
| help='Timeout in seconds for the job. Must be set higher and ' | ||
| 'start_timeout_sec and test_timeout_sec combined.', | ||
|
Comment on lines
+354
to
356
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new timeout of 2700 seconds might not be sufficient. According to the PR description, this change is to allow a second test attempt to succeed. With |
||
| ) | ||
|
|
||
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.
For a numeric timeout value, it's better practice to use
type=intinstead oftype=str. This ensures the value is parsed correctly as an integer at the command-line level, preventing potential bugs and simplifying the code that uses this value, as it won't need to perform its own type conversion.