rishabhdaim commented on code in PR #1875:
URL: https://github.com/apache/jackrabbit-oak/pull/1875#discussion_r1865983087


##########
oak-benchmarks/src/main/java/org/apache/jackrabbit/oak/benchmark/BundlingNodeTest.java:
##########
@@ -275,13 +281,13 @@ public String pickRandomPath(){
             if (assets != null){
                 return assets.get(random.nextInt(assets.size()));
             }
-            return buffer.peek();
+            return buffer.keySet().stream().findFirst().orElse(null);

Review Comment:
   this is related to change.
   
   We have updated the type of buffer to LinkedHashMap from EvictingQueue and 
hence above change is required.



-- 
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: oak-dev-unsubscr...@jackrabbit.apache.org

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

Reply via email to