Skip to content

Commit

Permalink
MINOR: Fix GroupCoordinatorShardTest stubbing (apache#14637)
Browse files Browse the repository at this point in the history
This patch fixes incorrect stubs in GroupCoordinatorShardTest.

Reviewers: David Jacot <[email protected]>
  • Loading branch information
iamlockon authored Nov 15, 2023
1 parent 1bc4de7 commit a64037c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void testConsumerGroupHeartbeat() {
new ConsumerGroupHeartbeatResponseData()
);

when(coordinator.consumerGroupHeartbeat(
when(groupMetadataManager.consumerGroupHeartbeat(
context,
request
)).thenReturn(result);
Expand All @@ -122,7 +122,7 @@ public void testCommitOffset() {
new OffsetCommitResponseData()
);

when(coordinator.commitOffset(
when(offsetMetadataManager.commitOffset(
context,
request
)).thenReturn(result);
Expand Down

0 comments on commit a64037c

Please sign in to comment.