-
Notifications
You must be signed in to change notification settings - Fork 949
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 getAppArmorSecurityOpts and getSeccompSecurityOpts #1948
Conversation
We found this is your first time to contribute to Pouch, @kaizizhu |
Codecov Report
@@ Coverage Diff @@
## master #1948 +/- ##
==========================================
- Coverage 63.31% 63.29% -0.02%
==========================================
Files 200 200
Lines 15522 15522
==========================================
- Hits 9828 9825 -3
+ Misses 4455 4454 -1
- Partials 1239 1243 +4
|
…AliyunContainerService#1913 Signed-off-by: kaicizhu <kaici.zkc@alibaba-inc.com>
LGTM Thanks for your brilliant work :) |
…x #1913
Signed-off-by: kaicizhu kaici.zkc@alibaba-inc.com
Ⅰ. Describe what this PR did
add unit-test for getAppArmorSecurityOpts&getSeccompSecurityOpts
Ⅱ. Does this pull request fix one issue?
fix #1913
Ⅲ. Describe how you did it
Add four different test case for each function. One test case for default value, one for unconfined value, one for value with prefix, one for value without prefix.
Ⅳ. Describe how to verify it
go test
Ⅴ. Special notes for reviews