Skip to content

Commit

Permalink
Fix a Scala 2.12 compile issue (#14126)
Browse files Browse the repository at this point in the history
Reviewers: Luke Chen <showuon@gmail.com>, Qichao Chu
  • Loading branch information
mumrah committed Jul 31, 2023
1 parent 3ba718e commit 938fee2
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class ZkMigrationIntegrationTest {
TestUtils.waitUntilTrue(
() => zkClient.getControllerId.contains(3000),
"Timed out waiting for KRaft controller to take over",
30_000)
30000)

def inDualWrite(): Boolean = {
val migrationState = kraftCluster.controllers().get(3000).migrationSupport.get.migrationDriver.migrationState().get(10, TimeUnit.SECONDS)
Expand Down Expand Up @@ -292,7 +292,7 @@ class ZkMigrationIntegrationTest {
TestUtils.waitUntilTrue(
() => zkClient.getControllerId.contains(3000),
"Timed out waiting for KRaft controller to take over",
30_000)
30000)

// Alter the metadata
log.info("Updating metadata with AdminClient")
Expand Down Expand Up @@ -367,7 +367,7 @@ class ZkMigrationIntegrationTest {
TestUtils.waitUntilTrue(
() => zkClient.getControllerId.contains(3000),
"Timed out waiting for KRaft controller to take over",
30_000)
30000)

// Alter the metadata
log.info("Updating metadata with AdminClient")
Expand Down Expand Up @@ -434,7 +434,7 @@ class ZkMigrationIntegrationTest {
TestUtils.waitUntilTrue(
() => zkClient.getControllerId.contains(3000),
"Timed out waiting for KRaft controller to take over",
30_000)
30000)

// Alter the metadata
log.info("Updating metadata with AdminClient")
Expand Down Expand Up @@ -496,7 +496,7 @@ class ZkMigrationIntegrationTest {
TestUtils.waitUntilTrue(
() => zkClient.getControllerId.contains(3000),
"Timed out waiting for KRaft controller to take over",
30_000)
30000)

// Alter the metadata
log.info("Create new topic with AdminClient")
Expand Down

0 comments on commit 938fee2

Please sign in to comment.