[README] Improve and enhance gRIBI GET RPC test - #5986
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 gRIBI Get RPC test documentation to provide a more comprehensive validation suite. It introduces structured test cases for verifying gRIBI Get operations under various conditions, including scale, multi-client scenarios, and specific network instance configurations, ensuring robust behavior of the gRIBI implementation. 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 #5986 / 86c1629Virtual Devices
Hardware Devices
|
There was a problem hiding this comment.
Code Review
This pull request updates the test plan for the gRIBI Get RPC test in README.md by expanding the procedure into detailed test cases (TestID-5.1.1 through TestID-5.1.6) covering scale, non-leader clients, filtering by AFT type, specific network instances, unresolved next-hops, and negative scenarios. It also updates the OpenConfig path coverage and specifies FFF as the required DUT platform. The reviewer suggested resolving an ambiguity in the unresolved next-hop test case (TestID-5.1.5) to ensure deterministic testing, recommending a single expected behavior and using a deviation if implementations differ.
System Test Plan see for more info: b/540866941
Objective: Validate that gRIBI
Getrequests accurately, completely, and efficiently return the current state of the gRIBI AFT, testing differentGetrequest parameters.Interfaces Used: gRIBI, gNMI
Expected Outcome Summary:
Getrequest for all network instances returns exactly those entries and their full parameters, matching what was programmed.Getrequest for a specific network instance returns only the entries within that instance.Getrequest for a non-existent network instance returns an empty result or appropriate indication, without error.Getoperations are consistently aligned with the state reported via gNMI AFT streaming telemetry.GetAPI supports any form of filtering (e.g., by key, type), test that these filters work correctly.Getoperations on a large AFT should complete within a reasonable time.