You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "José Andrés Cordero Benítez (Jira)" <ji...@apache.org> on 2019/08/28 09:24:00 UTC
[jira] [Created] (OAK-8582) Failing test in MongoDB 4.2.0:
BasicDocumentStoreTest.testLongId
José Andrés Cordero Benítez created OAK-8582:
------------------------------------------------
Summary: Failing test in MongoDB 4.2.0: BasicDocumentStoreTest.testLongId
Key: OAK-8582
URL: https://issues.apache.org/jira/browse/OAK-8582
Project: Jackrabbit Oak
Issue Type: Bug
Components: mongomk
Reporter: José Andrés Cordero Benítez
{{This is the output of the test. Apparently some changes in MongoDB 4.2.0 are allowing to correctly create the document with such long id, which makes the test to fail as it expects an error in that case.}}
{{Works fine with MongoDB 4.0.12.}}
{quote}{{[ERROR] Tests run: 111, Failures: 1, Errors: 0, Skipped: 2, Time elapsed: 23.079 s <<< FAILURE! - in org.apache.jackrabbit.oak.plugins.document.BasicDocumentStoreTest}}
{{[ERROR] testLongId[MongoFixture: MongoDB](org.apache.jackrabbit.oak.plugins.document.BasicDocumentStoreTest) Time elapsed: 0.019 s <<< FAILURE!}}
{{java.lang.AssertionError: create() with ultra-long id needs to fail}}
\{{ at org.apache.jackrabbit.oak.plugins.document.BasicDocumentStoreTest.testLongId(BasicDocumentStoreTest.java:414)}}
{quote}
I think this is related with the Index Key Limit, which has been removed in MongoDB 4.2.0:
[https://docs.mongodb.com/manual/reference/limits/#Index-Key-Limit]
--
This message was sent by Atlassian Jira
(v8.3.2#803003)