manirajv06 commented on code in PR #465:
URL: https://github.com/apache/yunikorn-core/pull/465#discussion_r1040833454
##########
pkg/webservice/handlers_test.go:
##########
@@ -1358,6 +1376,34 @@ func TestUsersAndGroupsResourceUsage(t *testing.T) {
assert.Equal(t, usersResourceUsageDao[0].Queues.ResourceUsage.String(),
resources.NewResourceFromMap(map[string]resources.Quantity{siCommon.CPU:
1}).String())
+ // Test existed user query
+ req, err = http.NewRequest("GET",
"/ws/v1/partition/default/usage/user/testuser", strings.NewReader(""))
Review Comment:
If you can check and make changes for the above, we can start merging after
code changes. Code coverage too complains this specific path.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]