-
Notifications
You must be signed in to change notification settings - Fork 7k
increase timeout for test_initial_replica tests #58423
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
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 |
|---|---|---|
|
|
@@ -1075,6 +1075,7 @@ def test_initial_replicas_new_configs( | |
| deployment_name: int(initial_replicas * config_target_capacity / 100) | ||
| }, | ||
| app_name="app1", | ||
| timeout=30, | ||
|
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. Bug: Incomplete timeout propagation in test retriesThe timeout increase to 30 seconds is only applied to the first |
||
| ) | ||
|
|
||
| # When deploying a new config, initial_replicas * target_capacity | ||
|
|
||
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.
To improve readability and maintainability, it's better to define this timeout value as a named constant at the top of the file or test class, for example
INITIAL_REPLICA_TEST_TIMEOUT_S = 30. This makes it easier to understand the purpose of the timeout and to adjust it in the future if needed, especially since other timeouts are used in this file.