-
Notifications
You must be signed in to change notification settings - Fork 18
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: --pid=host tests #8
Conversation
Signed-off-by: Anqi Pang <[email protected]>
f53e2aa
to
cb5b13e
Compare
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.
- It seems that
top
is replaced withinspect
. Could you elaborate more re. why that solves the issue? - nit: Next time maybe we can add the test case (i.e.,
--pid=container:<container>
) in a follow-up PR to keep each PR focused (i.e., this PR only fixes the bug, nothing more).
@@ -205,11 +205,16 @@ func Run(o *option.Option) { | |||
}) | |||
|
|||
ginkgo.It("should share PID namespace with host with --pid=host", func() { |
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.
Maybe that's (partly) addressed by #8 (comment)?
Signed-off-by: Anqi Pang <[email protected]>
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.
Just a reminder to cut a release and update finch accordingly, thanks!
🤖 I have created a release *beep* *boop* --- ## [0.1.1](v0.1.0...v0.1.1) (2022-11-30) ### Bug Fixes * --pid=host tests ([#8](#8)) ([77342d8](77342d8)) ### Build System or External Dependencies * **deps:** bump github.com/onsi/ginkgo/v2 from 2.5.0 to 2.5.1 ([#3](#3)) ([abf1f07](abf1f07)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Issue #, if available:
Description of changes:
Fix the GitHub issue that --pid=host test sometimes fails.
Add a spec for --test=container:.
Testing done:
Tests passed locally.
License Acceptance
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.