Skip to content

Commit

Permalink
MINOR: Fixing build (apache#1121)
Browse files Browse the repository at this point in the history
  • Loading branch information
apoorvmittal10 authored Mar 21, 2024
1 parent 50178d0 commit c693306
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ abstract class AbstractShareConsumerTest extends BaseRequestTest {
records ++= polledRecords.asScala
records.size >= numRecords
}
TestUtils.pollRecordsUntilTrue(consumer, pollAction, waitTimeMs = 60000,
TestUtils.pollShareRecordsUntilTrue(consumer, pollAction, waitTimeMs = 60000,
msg = s"Timed out before consuming expected $numRecords records. " +
s"The number consumed was ${records.size}.")
records
Expand Down
2 changes: 1 addition & 1 deletion core/src/test/scala/unit/kafka/utils/TestUtils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,7 @@ object TestUtils extends Logging {
}, msg = msg, pause = 0L, waitTimeMs = waitTimeMs)
}

def pollRecordsUntilTrue[K, V](shareConsumer: ShareConsumer[K, V],
def pollShareRecordsUntilTrue[K, V](shareConsumer: ShareConsumer[K, V],
action: ConsumerRecords[K, V] => Boolean,
msg: => String,
waitTimeMs: Long): Unit = {
Expand Down

0 comments on commit c693306

Please sign in to comment.