pan3793 commented on code in PR #5705:
URL: https://github.com/apache/kyuubi/pull/5705#discussion_r1400358828
##########
kyuubi-server/src/test/scala/org/apache/kyuubi/server/api/v1/BatchesResourceSuite.scala:
##########
@@ -852,4 +852,92 @@ abstract class BatchesResourceSuiteBase extends
KyuubiFunSuite
val getBatchListResponse = response.readEntity(classOf[GetBatchesResponse])
assert(getBatchListResponse.getTotal == 1)
}
+
+ test("open batch session with proxyUser") {
+ // we use superUser to impersonate commonUser
+ val superUser = "superUser"
+ val commonUser = "commonUser"
Review Comment:
we use "admin" and "kyuubi" in other tests, let's keep consistent
```suggestion
val adminUser = "admin"
val normalUser = "kyuubi"
```
--
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]