zhaih commented on code in PR #12660:
URL: https://github.com/apache/lucene/pull/12660#discussion_r1367981481


##########
lucene/core/src/test/org/apache/lucene/util/hnsw/HnswGraphTestCase.java:
##########
@@ -709,6 +710,7 @@ public void testHnswGraphBuilderInvalid() throws 
IOException {
         IllegalArgumentException.class, () -> 
HnswGraphBuilder.create(scorerSupplier, 10, 0, 0));
   }
 
+  @Ignore

Review Comment:
   Oh I guess that's the solution, the error I saw was:
   ```
   java.lang.RuntimeException: Can't access field 'readerLock' of class 
'java.util.concurrent.locks.ReentrantReadWriteLock' for RAM estimation.
        at 
__randomizedtesting.SeedInfo.seed([9EFF02730D10D00B:5BBB6633369B07BC]:0)
        at 
org.apache.lucene.tests.util.RamUsageTester.lambda$createCacheEntry$3(RamUsageTester.java:345)
        at 
java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
        at 
org.apache.lucene.tests.util.RamUsageTester.createCacheEntry(RamUsageTester.java:322)
        at 
org.apache.lucene.tests.util.RamUsageTester.handleOther(RamUsageTester.java:214)
        at 
org.apache.lucene.tests.util.RamUsageTester.measureObjectSize(RamUsageTester.java:137)
        at 
org.apache.lucene.tests.util.RamUsageTester.ramUsed(RamUsageTester.java:88)
   ```
   Let me try to add lock to that ignore list



-- 
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: issues-unsubscr...@lucene.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to