Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions topologies/otgdut_2.binding
Original file line number Diff line number Diff line change
Expand Up @@ -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
Comment thread
abhijit-dhar marked this conversation as resolved.
}

gnmi {
target: "ixia-c-hostname:50051" # Change this to the Ixia-c-gnmi server endpoint.
skip_verify: true
timeout: 30
timeout: 540

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

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
timeout: 540
timeout: 120

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The 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
Expand Down
4 changes: 2 additions & 2 deletions topologies/otgdut_4.binding
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ ates {
otg {
target: "ixia-c-hostname:40051" # Change this to the Ixia-c-grpc server endpoint.
insecure: true
timeout: 30
timeout: 540
Comment thread
abhijit-dhar marked this conversation as resolved.
}

gnmi {
target: "ixia-c-hostname:50051" # Change this to the Ixia-c-gnmi server endpoint.
skip_verify: true
timeout: 30
timeout: 540
Comment thread
abhijit-dhar marked this conversation as resolved.
}

# Before this binding can be used with a topology, add ports mapping
Expand Down
Loading