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
Anyway, could it be that you switched the mongo version and it serialises differently now. Or does it happen always, or is the serialisation indeterministic. Maybe it will be better to do a better comparison instead of the equals comparison. What do you think?
Something wrong happens with ordering of a document stored in a db:
junit.framework.ComparisonFailure: null
Expected :{ "$and" : [ { "$or" : [ { "metadata.mimetype.value" : "applciation/pdf"} , { "metadata.mimetype.value" : "text/html"} , { "metadata.mimetype.value" : "text/xml"}]} , { "metadata.puid.value" : "fmt/42"}]}
Actual :{ "$and" : [ { "metadata.puid.value" : "fmt/42"} , { "$or" : [ { "metadata.mimetype.value" : "applciation/pdf"} , { "metadata.mimetype.value" : "text/html"} , { "metadata.mimetype.value" : "text/xml"}]}]}
at com.petpet.c3po.dao.MongoFilterSerializerTest.shouldTestMongoAndOrFilterSerialization(MongoFilterSerializerTest.java:129)
The text was updated successfully, but these errors were encountered: