targetoee commented on code in PR #757:
URL: https://github.com/apache/yunikorn-core/pull/757#discussion_r1581719874


##########
pkg/webservice/handlers_test.go:
##########
@@ -2602,3 +2607,82 @@ func NewResponseRecorderWithDeadline() 
*ResponseRecorderWithDeadline {
                ResponseRecorder: httptest.NewRecorder(),
        }
 }
+
+func TestCompressGetQueueApplicationAPI(t *testing.T) {

Review Comment:
   The test about `webservice` has been added. I don't think we should modify 
`newRouter` just for the test case, so I kept it as it is. Instead, I simulate 
the action in `webservice` and then check whether the result is correct. 



-- 
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]

Reply via email to