-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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 node e2e tests for hostIPC #45006
Conversation
ping @Random-Liu @yujuhong |
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.
Looks good overall with some nits.
BeforeEach(func() { | ||
output, err := exec.Command("sh", "-c", "ipcmk -M 1M | awk '{print $NF}'").Output() | ||
if err != nil { | ||
framework.Failf("Create shared memory on the host failed: %v", err) |
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.
"Failed to create the shared memory on the host: %v"
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.
ack
|
||
hostSharedMemoryID := "" | ||
BeforeEach(func() { | ||
output, err := exec.Command("sh", "-c", "ipcmk -M 1M | awk '{print $NF}'").Output() |
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.
Clean up the resource after the test.
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.
ack
@yujuhong Addressed comments. PTAL. |
/lgtm @Random-Liu ping for approval |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Random-Liu, feiskyer, yujuhong
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue (batch tested with PRs 45304, 45006, 45527) |
What this PR does / why we need it:
Add node e2e tests for hostIPC.
Which issue this PR fixes
Part of #44118.
Special notes for your reviewer:
Release note:
/assign @Random-Liu @yujuhong