fix: add RemoveExistingImage option to container setup#5289
fix: add RemoveExistingImage option to container setup#5289youssefyamoutyy wants to merge 1 commit intoopenconfig:mainfrom
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 container setup logic in the connectivity tests to prevent potential image conflicts. By enabling the removal of existing images before test execution, the environment remains consistent and avoids issues during repeated test runs. 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 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 counter productive. 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 #5289 / ec74ac4Virtual Devices
Hardware Devices
|
There was a problem hiding this comment.
Code Review
This pull request updates the container setup in cntr_test.go to ensure a clean state by setting RemoveExistingImage to true. Feedback suggests making this parameter configurable via a flag to improve local development efficiency by avoiding redundant image pushes when the image already exists on the device.
| TarPath: containerTarPath(t), | ||
| Network: "host", | ||
| PollForRunningState: true, | ||
| RemoveExistingImage: true, |
There was a problem hiding this comment.
Ensures clean container state before each test run and prevents image conflicts during repeated test executions