You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 14, 2024. It is now read-only.
The new alias feature makes ResourceModelTest's index test fail in OW Jenkins (but not on my machine, probably because of having a different MongoDB version ?):
Tests run: 10, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.493 sec <<< FAILURE!
testImpactedModelAndIndexUpdate(org.oasis.datacore.rest.server.ResourceModelTest) Time elapsed: 0.938 sec <<< FAILURE!
java.lang.AssertionError: city should also have index on city:founded
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.oasis.datacore.rest.server.ResourceModelTest.testImpactedModelAndIndexUpdate(ResourceModelTest.java:418)
The new alias feature makes ResourceModelTest's index test fail in OW Jenkins (but not on my machine, probably because of having a different MongoDB version ?):
Tests run: 10, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.493 sec <<< FAILURE!
testImpactedModelAndIndexUpdate(org.oasis.datacore.rest.server.ResourceModelTest) Time elapsed: 0.938 sec <<< FAILURE!
java.lang.AssertionError: city should also have index on city:founded
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.oasis.datacore.rest.server.ResourceModelTest.testImpactedModelAndIndexUpdate(ResourceModelTest.java:418)
=> allow LdpEntityQueryImpl to disable criteria on _aliasOf, only in test (and devmode):
https://github.com/ozwillo/ozwillo-datacore/blob/master/ozwillo-datacore-rest-server/src/main/java/org/oasis/datacore/core/entity/query/ldp/LdpEntityQueryServiceImpl.java#L712
The text was updated successfully, but these errors were encountered: