-
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
add tests for container kill and exists #5388
add tests for container kill and exists #5388
Conversation
☔ The latest upstream changes (presumably #5344) made this pull request unmergeable. Please resolve the merge conflicts. |
@lsm5 needs a rebase |
7ca2e4f
to
221f47b
Compare
221f47b
to
232f6d5
Compare
pkg/bindings/test/containers_test.go
Outdated
Expect(err).To(BeNil()) | ||
}) | ||
|
||
// This test panics after a 10 minute timeout. |
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.
@baude PTAL ^
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.
@baude re-ping
☔ The latest upstream changes (presumably #5618) made this pull request unmergeable. Please resolve the merge conflicts. |
5eba6b7
to
563468a
Compare
3143ce0
to
891f999
Compare
LGTM |
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.
Is it really necessary to use SIGKILL so often? I was trained to use that only as a last resort. Maybe you could alternate SIGINT and SIGTERM?
Also, what would you think of adding an Exists()
test after one or two of the kill tests? E.g. after line 483? See, the thing is, you're not really testing kill: you're testing "kill does not give me an error". Not the same thing.
891f999
to
394d08f
Compare
Signed-off-by: Lokesh Mandvekar <[email protected]>
394d08f
to
ce35fe3
Compare
@edsantiago addressed both comments. PTAL.. |
LGTM assuming tests pass. Thank you! |
Test failure in rootless local:
I'm guessing it's a flake but once again it's not one I've seen before. Could someone please investigate? |
It seems like the mountpoint is still active when we try and remove it. Hard to tell exactly what's going on without having a look at what exactly is mounted when we try and remove - could be overlay failing to unmount, could be our SHM mount? |
All of those are such simple tests: |
@edsantiago everything passes now, so maybe we're good to go? |
I gave it my /lgtm blessing but I don't have privs to |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lsm5, mheon 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 |
depends on #5374 . Also, tests are currently failing due to a crun issue being worked on separately.