Reviewers: Mickael Maison <mickael.maison@gmail.com>
@ -67,6 +67,7 @@ class FetchFromFollowerIntegrationTest extends BaseFetchRequestTest {
brokers,
replicaAssignment = Map(0 -> Seq(leaderBrokerId, followerBrokerId))
)
TestUtils.waitUntilLeaderIsKnown(brokers, new TopicPartition(topic, 0))
assertTrue(partitionLeaders.values.forall(_ == leaderBrokerId))
val version = ApiKeys.FETCH.latestVersion()