dajac commented on code in PR #16158:
URL: https://github.com/apache/kafka/pull/16158#discussion_r1631057079
##########
core/src/test/scala/unit/kafka/server/KafkaApisTest.scala:
##########
@@ -7107,11 +7108,12 @@ class KafkaApisTest extends Logging {
).asJava)
// Can't reuse the above list here because we would not test the
implementation in KafkaApis then
+ val authorizedOperationsInt = if (includeAuthorizedOperations) 328 else
Int.MinValue;
val describedGroups = List(
new DescribedGroup().setGroupId(groupIds.get(0)),
new DescribedGroup().setGroupId(groupIds.get(1)),
new DescribedGroup().setGroupId(groupIds.get(2))
- ).map(group => group.setAuthorizedOperations(328)) // Integer
representation of authorized operations for this request
+ ).map(group => group.setAuthorizedOperations(authorizedOperationsInt)) //
Integer representation of authorized operations for this request
Review Comment:
nit: Should we move this comment next to `328`?
--
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]