-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test.apiv2: add test cases for committing an image from a container #6461
test.apiv2: add test cases for committing an image from a container #6461
Conversation
Hi @chuanchang. Thanks for your PR. I'm waiting for a containers member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
@chuanchang thanks for your contributions! Excellent! |
LGTM, but would like a final signoff from @edsantiago |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! One wording change request, and two places where you should do result validation. LGTM after that, thank you.
Testing query parameters: container, repo, tag, comment, author, changes and pause. Signed-off-by: Alex Jia <[email protected]>
@edsantiago thank you, done, and also added testing for 'changes' query parameter, test result as below.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chuanchang, edsantiago, rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Nice work, thank you! /lgtm [Quick suggestion for next time: it is not necessary to paste in test results.] |
- (minor): apiv2 tests: check for full ID Observation made while reviewing containers#6461: tests were checking only for a 12-character container/image ID in return value. It's actually 64, and we should test for that. This should also minimize confusion in a future maintainer. - podman pause/unpause: new test Runs a 'date/sleep' loop, pauses container, sleeps 3s, restarts, then confirms that there's a 3- to 6-second gap in the logs for the container. - podman healthcheck: new test run a container with healthcheck, test both healthy and unhealthy conditions - podman pod: check '{{.Pod}}' field in podman ps Hey, as long as we have a pod with two running containers, might as well confirm that 'podman ps' returns the expected pod ID. Signed-off-by: Ed Santiago <[email protected]>
Testing query parameters: container, repo, tag, comment, author, pause.
Signed-off-by: Alex Jia [email protected]