Skip to content
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

fix the .Path and .Args when use the infra-command #7675

Conversation

zhangguanzhang
Copy link
Collaborator

Fixes: #7673
Signed-off-by: zhangguanzhang [email protected]

@rhatdan
Copy link
Member

rhatdan commented Sep 17, 2020

LGTM

@rhatdan
Copy link
Member

rhatdan commented Sep 17, 2020

@zhangguanzhang Remote tests do not seem to be happy

@zhangguanzhang
Copy link
Collaborator Author

I will fix this when I have time

@zhangguanzhang zhangguanzhang force-pushed the set-process-path-and-arg-with-infra-command branch from 286fdd3 to 0cea112 Compare September 17, 2020 17:43
@edsantiago
Copy link
Member

All tests are unhappy; but FWIW it now passes my (new, unsubmitted) --infra-image + --infra-command test. You're on the right track, thank you!

@edsantiago
Copy link
Member

I have a system test (BATS) that tests this fairly thoroughly, so don't feel any need to write one. I will submit my PR as soon as yours merges (because, obviously, it will not pass on master right now).

@zhangguanzhang
Copy link
Collaborator Author

zhangguanzhang commented Sep 18, 2020

I have a system test (BATS) that tests this fairly thoroughly, so don't feel any need to write one. I will submit my PR as soon as yours merges (because, obviously, it will not pass on master right now).

Does this mean I should remove the e2e I wrote?

@edsantiago
Copy link
Member

No, those are a good idea - multiple levels of testing are good. What I meant was, if you were thinking of writing a system test, you don't need to 😁

@zhangguanzhang
Copy link
Collaborator Author

My local test is normal, I don’t know why Args is empty in ci

@edsantiago
Copy link
Member

You are using Expect(check1 when you should be using check2 😉

@zhangguanzhang zhangguanzhang force-pushed the set-process-path-and-arg-with-infra-command branch from 0cea112 to 5f6fff0 Compare September 18, 2020 01:58
@zhangguanzhang
Copy link
Collaborator Author

You are using Expect(check1 when you should be using check2 😉

oops, wrong copy😅

Copy link
Member

@edsantiago edsantiago left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested against my new BATS pod infra tests; all passes. Nice work.

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: edsantiago, zhangguanzhang

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 18, 2020
@rhatdan
Copy link
Member

rhatdan commented Sep 18, 2020

Thanks @zhangguanzhang
/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 18, 2020
@openshift-merge-robot openshift-merge-robot merged commit 4b037d2 into containers:master Sep 18, 2020
@zhangguanzhang zhangguanzhang deleted the set-process-path-and-arg-with-infra-command branch September 23, 2020 05:29
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 24, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

podman pod create --infra-command: does not seem to be working
5 participants