HCL-TECH-SOFTWARE / domino-jnx

Modern Domino Java API based on JNA access to Domino's C API
https://opensource.hcltechsw.com/domino-jnx/
Apache License 2.0
14 stars 3 forks source link

domino-jnx-jna test case TestDocumentPrimaryKey fails #377

Open jesse-gallagher opened 1 year ago

jesse-gallagher commented 1 year ago

This shows up at least on macOS:

org.opentest4j.AssertionFailedError: object id in map ==> expected: <true> but was: <false>
    at com.hcl.domino.jna.test.TestDocumentPrimaryKey.lambda$0(TestDocumentPrimaryKey.java:66)
    at com.hcl.domino.jna.test.TestDocumentPrimaryKey$$Lambda$573/0x0000000000000000.accept(Unknown Source)

What it's doing there is checking whether the named note exists in the full pool of named notes. An earlier part of the test successfully retrieves the note directly, so perhaps the trouble is with the "find all" path.