-
Notifications
You must be signed in to change notification settings - Fork 948
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: add unit test for generateMountBindings and modifySandboxNamespaceOptions #1768
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1768 +/- ##
==========================================
+ Coverage 54.4% 63.83% +9.42%
==========================================
Files 200 200
Lines 15527 15527
==========================================
+ Hits 8448 9912 +1464
+ Misses 5962 4388 -1574
- Partials 1117 1227 +110
|
Ping @YaoZengzeng @starnop PTAL. Thanks a lot. |
62b0d7f
to
480552b
Compare
6ae239a
to
28a1499
Compare
…aceOptions Signed-off-by: Zou Rui <21751189@zju.edu.cn>
nsOpts: &runtime.NamespaceOption{ | ||
HostIpc: true, | ||
HostPid: true, | ||
HostNetwork: false, |
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.
More test cases such as HostNetwork: true
for higher test coverage ?
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.
What is the opinion of this comment from Starop? @ZouRui89
Signed-off-by: Zou Rui 21751189@zju.edu.cn
Ⅰ. Describe what this PR did
This pr add unit test for method
generateMountBindings
andmodifySandboxNamespaceOptions
.Ⅱ. Does this pull request fix one issue?
fixes part of #1756
Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews