rishabhdaim commented on code in PR #1745:
URL: https://github.com/apache/jackrabbit-oak/pull/1745#discussion_r1778654406
##########
oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/MissingLastRevSeekerTest.java:
##########
@@ -249,7 +251,7 @@ public void dispose() {
}
dns.runBackgroundOperations();
//seeker should return only non split documents
- int docs = Iterables.size(seeker.getCandidates(0));
+ int docs =
Iterables.size(seeker.getCandidates(Objects.requireNonNull(dns.getRoot().getLastRevision().getRevision(dns.getClusterId())).getTimestamp()));
Review Comment:
I think I found the Root cause.
These tests are failing due to the `CompressedDocumentPropertyStateTest`
test not cleaning up properly.
On my local, it is causing either Mongo or RDB-H2 to fail.
`CompressedDocumentPropertyStateTest` creates the problematic node `1:/test`
causing test failures.
`CompressedDocumentPropertyStateTest` has been added recently which explains
the recent failures of `MissingLastRevSeekerTest`.
@ionutzpi could you please look into this?
cc @Joscorbe @reschke
--
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]