You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by di...@apache.org on 2024/01/18 10:18:35 UTC

(kafka) branch trunk updated: MINOR: Fix compilation issue in ReplicaManagerTest (#15222)

This is an automated email from the ASF dual-hosted git repository.

divijv pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new acab4657dde MINOR: Fix compilation issue in ReplicaManagerTest (#15222)
acab4657dde is described below

commit acab4657ddefe6dadf078203705ad85105c23db3
Author: Mickael Maison <mi...@users.noreply.github.com>
AuthorDate: Thu Jan 18 11:18:28 2024 +0100

    MINOR: Fix compilation issue in ReplicaManagerTest (#15222)
    
    Reviewers: Divij Vaidya <di...@amazon.com>
---
 core/src/test/scala/unit/kafka/server/ReplicaManagerTest.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/test/scala/unit/kafka/server/ReplicaManagerTest.scala b/core/src/test/scala/unit/kafka/server/ReplicaManagerTest.scala
index 7ef92a97371..95fbab05747 100644
--- a/core/src/test/scala/unit/kafka/server/ReplicaManagerTest.scala
+++ b/core/src/test/scala/unit/kafka/server/ReplicaManagerTest.scala
@@ -6175,7 +6175,7 @@ class ReplicaManagerTest {
   private def imageFromTopics(topicsImage: TopicsImage): MetadataImage = {
     val featuresImageLatest = new FeaturesImage(
       Collections.emptyMap(),
-      MetadataVersion.latest(),
+      MetadataVersion.latestProduction(),
       ZkMigrationState.NONE)
     new MetadataImage(
       new MetadataProvenance(100L, 10, 1000L),