OmniaGM commented on PR #14790: URL: https://github.com/apache/kafka/pull/14790#issuecomment-1845803714
> Seeing this locally: > > ``` > org.mockito.exceptions.misusing.InvalidUseOfMatchersException: > Invalid use of argument matchers! > 3 matchers expected, 2 recorded: > -> at kafka.server.ReplicaAlterLogDirsThreadTest.shouldRevertAnyScheduledAssignmentRequestIfAssignmentIsCancelled(ReplicaAlterLogDirsThreadTest.scala:461) > -> at kafka.server.ReplicaAlterLogDirsThreadTest.shouldRevertAnyScheduledAssignmentRequestIfAssignmentIsCancelled(ReplicaAlterLogDirsThreadTest.scala:461) > > This exception may occur if matchers are combined with raw values: > //incorrect: > someMethod(any(), "raw String"); > When using matchers, all arguments have to be provided by matchers. > For example: > //correct: > someMethod(any(), eq("String by matcher")); > > For more info see javadoc for Matchers class. > > at kafka.server.ReplicaAlterLogDirsThreadTest.shouldRevertAnyScheduledAssignmentRequestIfAssignmentIsCancelled(ReplicaAlterLogDirsThreadTest.scala:461) > ... > ``` fixed now -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org