This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[branch-2.11] Fix failed GroupMetadataManagerTest (#1934)
### Motivation When running `GroupMetadataManagerTest`, `testOffsetWriteAfterGroupRemoved` will be called after `testOffsetTopicNumPartitionsModify`, which changes the `offsetTopicNumPartitions` to 100 so that `consumerGroupPartitionId` will be 74 while `groupPartitionId` is 0, and then the group metadata will be sent to partition 0 while `scheduleLoadGroupAndOffsets` will read from partition 74. Since no group metadata is loaded, ### Modifications Migrate the fix in #1759 to reset the `offsetTopicNumPartitions` before and after each method.
- Loading branch information