RT-2.18 Update - Adding gnmi Wait to check if traffic is stopped before checking the stats - #6055
ANISH-GOTTAPU wants to merge 2 commits into
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request addresses a race condition in the ISIS scale multi-adjacency test suite. By introducing a verification step that polls the transmission state of each flow, the test now ensures that traffic has successfully stopped before attempting to validate packet loss, preventing false negatives in the test results. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
Pull Request Functional Test Report for #6055 / 2133867Virtual Devices
Hardware Devices
|
There was a problem hiding this comment.
Code Review
This pull request introduces a check to wait for traffic to stop after calling StopTraffic in the ISIS scale multi-adjacency test. It iterates through the traffic flows and uses gnmi.Watch to verify that the transmit state becomes false. The reviewer recommends refactoring this sequential check into a concurrent helper function using goroutines to prevent test slowdowns, which aligns with the repository's performance guidelines against sequential telemetry validations.
Users are observing the below issue:
This fix will wait until the traffic is fully stopped and fetch the stats