adixitconfluent commented on code in PR #19598:
URL: https://github.com/apache/kafka/pull/19598#discussion_r2075429566


##########
core/src/test/java/kafka/server/share/SharePartitionTest.java:
##########
@@ -1647,14 +1649,15 @@ public void testRecordFetchLockRatioMetric() {
             .thenReturn(80L) // for time when lock is released
             .thenReturn(160L); // to update lock idle duration while acquiring 
lock again.
 
-        assertTrue(sharePartition.maybeAcquireFetchLock());
-        sharePartition.releaseFetchLock();
+        Uuid fetchId = mock(Uuid.class);

Review Comment:
   I have changed it to Uuid.randomUuid()



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to