-
Notifications
You must be signed in to change notification settings - Fork 246
changing the timeout of the binding files #6018
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 | ||||
|---|---|---|---|---|---|---|
|
|
@@ -52,13 +52,13 @@ ates { | |||||
| otg { | ||||||
| target: "ixia-c-hostname:40051" # Change this to the Ixia-c-grpc server endpoint. | ||||||
| insecure: true | ||||||
| timeout: 30 | ||||||
| timeout: 540 | ||||||
| } | ||||||
|
|
||||||
| gnmi { | ||||||
| target: "ixia-c-hostname:50051" # Change this to the Ixia-c-gnmi server endpoint. | ||||||
| skip_verify: true | ||||||
| timeout: 30 | ||||||
| timeout: 540 | ||||||
|
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. Increasing the gNMI request timeout to 540 seconds (9 minutes) is excessively high. If a gNMI operation hangs, waiting 9 minutes will block the test suite and waste CI/CD resources. A timeout of 120 seconds is typically sufficient to handle transient delays while ensuring the test fails within a reasonable timeframe.
Suggested change
Contributor
Author
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. I insists the change because for most cases the API will return within a few seconds but for genuinely costly operations such as large learned info or stats , we need more time to respond, so a large timeout avoids false negatives and subsequent failures for subsequent tests |
||||||
| } | ||||||
|
|
||||||
| # Before this binding can be used with a topology, add ports mapping | ||||||
|
|
||||||
Uh oh!
There was an error while loading. Please reload this page.