void-ptr974 opened a new pull request, #26022: URL: https://github.com/apache/pulsar/pull/26022
### Motivation The primitive collection tests covered basic examples, but several correctness-sensitive paths were not exercised with model or collision-oriented checks. ### Modifications - Add fixed-seed randomized model tests against JDK HashMap, HashSet, and PriorityQueue oracles. - Add directed collision-cluster tests for primitive open-addressing maps and sets. - Cover probe-chain preservation after removals, explicit zero values, null computeIfAbsent, and reference-equality conditional removal. ### Verification - ./gradlew :pulsar-common:test --tests org.apache.pulsar.common.util.collections.Long2IntOpenHashMapTest --tests org.apache.pulsar.common.util.collections.Long2ObjectOpenHashMapTest --tests org.apache.pulsar.common.util.collections.Int2ObjectOpenHashMapTest --tests org.apache.pulsar.common.util.collections.HashSetTest -PtestRetryCount=0 - ./gradlew :pulsar-common:checkstyleTest - ./gradlew :pulsar-common:test --tests 'org.apache.pulsar.common.util.collections.*' -PtestRetryCount=0 -- 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]
