bowenliang123 commented on code in PR #5182:
URL: https://github.com/apache/kyuubi/pull/5182#discussion_r1299905182


##########
kyuubi-server/src/test/scala/org/apache/kyuubi/server/api/v1/AdminResourceSuite.scala:
##########
@@ -125,6 +125,19 @@ class AdminResourceSuite extends KyuubiFunSuite with 
RestFrontendTestHelper {
     assert(200 == response.getStatus)
   }
 
+  test("refresh limited users of the kyuubi server") {
+    var response = webTarget.path("api/v1/admin/refresh/limited_users")
+      .request()
+      .post(null)
+    assert(405 == response.getStatus)

Review Comment:
   `403 Forbidden` may be a more suitable response code than `405 Method not 
allowed`.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to