dengziming commented on pull request #9769: URL: https://github.com/apache/kafka/pull/9769#issuecomment-769911317
@rajinisivaram Thank you, I think the problem comes from `EasyMock.expect(authorizer.authorize(anyObject[RequestContext], EasyMock.eq(expectedActions.asJava)))`. below is what I expecet: ``` val expectedActions = Seq( new Action(AclOperation.DESCRIBE, new ResourcePattern(ResourceType.TOPIC, unauthorizedTopic, PatternType.LITERAL), 1, true, true), new Action(AclOperation.DESCRIBE, new ResourcePattern(ResourceType.TOPIC, authorizedTopic, PatternType.LITERAL), 1, true, true) ) ``` but maybe the order of the real params is reversed, so I removed `expectedActions` and try again. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org