zwangsheng commented on PR #4740: URL: https://github.com/apache/kyuubi/pull/4740#issuecomment-1519443731
> > would you like to add a unit test of the list engine and delete engine in Group level? > > Sure I'd like to. But could you please help on how to implement a `GroupProvider` in the unit test? I've found you are using the "hadoop" provider, how should I reuse it in the group share level? > > https://github.com/apache/kyuubi/blob/6ba8b99151adeee2fbdc7127a1ec1b0a087d4787/kyuubi-server/src/test/scala/org/apache/kyuubi/server/api/v1/AdminResourceSuite.scala#L266-L269 According to current impl, you can also get `fe` in suite (You may need cast `fe` => `KyuubiRestFrontendService`). Then `fe.sessionManager.groupProvider` -- 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]
