You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/12/16 09:20:38 UTC

[GitHub] [pulsar] eolivelli commented on a diff in pull request #18390: [fix][broker] fix bug caused by optimistic locking

eolivelli commented on code in PR #18390:
URL: https://github.com/apache/pulsar/pull/18390#discussion_r1050528375


##########
pulsar-common/src/test/java/org/apache/pulsar/common/util/collections/ConcurrentLongLongPairHashMapTest.java:
##########
@@ -173,6 +174,62 @@ public void testExpandAndShrink() {
         assertEquals(map.capacity(), 8);
     }
 
+    @Test
+    public void testExpandAndShrinkAndGet()  throws Throwable {
+        ConcurrentLongLongPairHashMap map = ConcurrentLongLongPairHashMap.newBuilder()

Review Comment:
   can we cover with tests also the other classes that you changed please ?



-- 
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: commits-unsubscribe@pulsar.apache.org

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