-
Notifications
You must be signed in to change notification settings - Fork 950
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: api_network_test: add new check points #2349
test: api_network_test: add new check points #2349
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2349 +/- ##
==========================================
+ Coverage 66.57% 68.15% +1.57%
==========================================
Files 265 265
Lines 18209 18236 +27
==========================================
+ Hits 12123 12428 +305
+ Misses 4682 4380 -302
- Partials 1404 1428 +24
|
5013265
to
caf69f4
Compare
@@ -94,7 +95,8 @@ func ValidateNetworks(nwConfig *types.NetworkingConfig) error { | |||
for k := range nwConfig.EndpointsConfig { | |||
l = append(l, k) | |||
} | |||
|
|||
// make sure l is sorted | |||
sort.Strings(l) |
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.
why we sort this....
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.
the same questions to previous ulimit testing ...
Signed-off-by: Alex Jia <chuanchang.jia@gmail.com>
caf69f4
to
d8a663d
Compare
LGTM |
As summary.
Signed-off-by: Alex Jia chuanchang.jia@gmail.com
Ⅰ. Describe what this PR did
As summary.
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)
Ⅳ. Describe how to verify it
go test
Ⅴ. Special notes for reviews