RT-2.16: fix graceful restart logic - #5777
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 updates the IS-IS graceful restart test suite to improve reliability and correctness. Key changes include adjustments to timing and telemetry validation to better align with device behavior during restart cycles, as well as hardening the gNOI interaction logic to handle controller switchovers more gracefully by avoiding stale cached connections. 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 #5777 / 1e1e4f7Virtual Devices
Hardware Devices
|
There was a problem hiding this comment.
Code Review
This pull request refactors the IS-IS graceful restart and controller card switchover tests. Key changes include removing unused constants, dynamically dialing fresh gNOI clients to prevent issues with cached channels during switchovers, updating telemetry verification logic, and optimizing wait times. The feedback suggests removing a redundant static sleep in testGrHelper since the subsequent telemetry verification already dynamically awaits the UP state, aligning with the style guide's performance guidelines.
Changes done: