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

dajac 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 fe7a373baac HOTFIX: Fix compilation error in 
ReplicaManagerConcurrencyTest for Scala 2.12 (#14786)
fe7a373baac is described below

commit fe7a373baac08a254949d2a4c7abecb4dacd6e6d
Author: David Jacot <[email protected]>
AuthorDate: Fri Nov 17 09:29:26 2023 +0100

    HOTFIX: Fix compilation error in ReplicaManagerConcurrencyTest for Scala 
2.12 (#14786)
    
    https://github.com/apache/kafka/pull/14369 introduced a compilation error 
in ReplicaManagerConcurrencyTest for Scala 2.12.
    
    Reviewers: Lucas Brutschy <[email protected]>
---
 .../test/scala/unit/kafka/server/ReplicaManagerConcurrencyTest.scala  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/core/src/test/scala/unit/kafka/server/ReplicaManagerConcurrencyTest.scala 
b/core/src/test/scala/unit/kafka/server/ReplicaManagerConcurrencyTest.scala
index 330ea2c0c78..9e7f1022e50 100644
--- a/core/src/test/scala/unit/kafka/server/ReplicaManagerConcurrencyTest.scala
+++ b/core/src/test/scala/unit/kafka/server/ReplicaManagerConcurrencyTest.scala
@@ -46,7 +46,7 @@ import org.junit.jupiter.api.Assertions._
 import org.junit.jupiter.api.{AfterEach, Test}
 import org.mockito.Mockito
 
-import scala.collection.mutable
+import scala.collection.{immutable, mutable}
 import scala.jdk.CollectionConverters._
 import scala.util.Random
 
@@ -154,7 +154,7 @@ class ReplicaManagerConcurrencyTest {
       setClusterId(Uuid.randomUuid().toString).
       setNodeId(1).
       build()
-    TestUtils.formatDirectories(Seq(logDir.getAbsolutePath), metaProperties, 
MetadataVersion.latest(), None)
+    TestUtils.formatDirectories(immutable.Seq(logDir.getAbsolutePath), 
metaProperties, MetadataVersion.latest(), None)
 
     val props = new Properties
     props.put(KafkaConfig.QuorumVotersProp, "100@localhost:12345")

Reply via email to