Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing Mongo Specs due to error message changes. #1573

Closed
farmdawgnation opened this issue Jun 7, 2014 · 0 comments
Closed

Failing Mongo Specs due to error message changes. #1573

farmdawgnation opened this issue Jun 7, 2014 · 0 comments

Comments

@farmdawgnation
Copy link
Member

MongoDocumentExamplesSpec and MongoDirectSpec are currently failing under Mongo 2.6 on my local machine with the following failure (or some variation thereof)

'insertDocument :: caused by :: 11000 E11000 duplicate key error index: lift_mongodirectspec.testCollection.$name_1 dup key: { : "MongoSession" }' doesn't start with 'E11000 duplicate key error index' (MongoDirectSpec.scala:234)

It looks like this is caused by Mongo changing their error messages to be more informative. We should update the spec to be a contains check instead of a starts with check.

@farmdawgnation farmdawgnation added this to the 2.6-M5 milestone Jun 7, 2014
@farmdawgnation farmdawgnation self-assigned this Jun 7, 2014
@eltimn eltimn closed this as completed in e6bc89d Jun 15, 2014
@fmpwizard fmpwizard modified the milestones: 2.6-M4, 2.6-RC1 Jun 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants