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

Use WriteConcern.SAFE as default for MongoDB connection #46

Merged
merged 1 commit into from Dec 27, 2012

Conversation

Projects
None yet
3 participants
@vshchukin
Copy link
Contributor

commented Dec 26, 2012

Hi,

We are using nosql-unit to insert/read test data with remote MongoDB.
But data defined in @UsindDataSet sometimes is not available in test for reading.
The problem is that default WriteConcern in Java driver does not guarantee this - so I think it's better to always use WriteConcern.SAFE .

@buildhive

This comment has been minimized.

Copy link

commented Dec 26, 2012

Alex Soto » nosql-unit #43 SUCCESS
This pull request looks good
(what's this?)

@lordofthejars

This comment has been minimized.

Copy link
Owner

commented Dec 26, 2012

Thank you very much first of all for using NoSQLUnit and second one for helping me in improving it because you are right with the write concern problem. Tomorrow I will merge your changes.
Again thank you so much for your interest in project, and if you have any request don't hesitate to ask me. Also let me tell you that in two or three weeks I will release a version for testing MongoDB replication (shards, master/slave and replication sets.)

lordofthejars added a commit that referenced this pull request Dec 27, 2012

Merge pull request #46 from MrKeyholder/master
Use WriteConcern.SAFE as default for MongoDB connection

@lordofthejars lordofthejars merged commit d15f415 into lordofthejars:master Dec 27, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.