duongkame commented on code in PR #4885:
URL: https://github.com/apache/ozone/pull/4885#discussion_r1317869704


##########
hadoop-ozone/common/src/test/java/org/apache/hadoop/ozone/om/lock/TestKeyPathLock.java:
##########
@@ -136,8 +136,7 @@ private void testSameKeyPathWriteLockMultiThreadingUtil(
     // Now all threads have been instantiated.
     Assert.assertEquals(0, countDownLatch.getCount());
 
-    lock.acquireWriteHashedLock(resource,
-        generateResourceHashCode(resource, sampleResourceName));
+    lock.acquireWriteLock(resource, sampleResourceName);

Review Comment:
   similar to the above.



##########
hadoop-ozone/common/src/test/java/org/apache/hadoop/ozone/om/lock/TestKeyPathLock.java:
##########
@@ -136,8 +136,7 @@ private void testSameKeyPathWriteLockMultiThreadingUtil(
     // Now all threads have been instantiated.
     Assert.assertEquals(0, countDownLatch.getCount());
 
-    lock.acquireWriteHashedLock(resource,
-        generateResourceHashCode(resource, sampleResourceName));
+    lock.acquireWriteLock(resource, sampleResourceName);

Review Comment:
   similar to the above.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to