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

Add tests for OnCommit batch operations #12

Open
scale-tone opened this issue May 11, 2015 · 0 comments
Open

Add tests for OnCommit batch operations #12

scale-tone opened this issue May 11, 2015 · 0 comments

Comments

@scale-tone
Copy link
Owner

Check combination of all operations for different records
Check what happens when you try to add same record multiple times (should throw)
Check what happens when you add + modify within 1 "transaction" (should save as modified, check logs that only 1 dynamoDb operation is performed)
Check what happens when you add + delete within 1 "transaction" (should be deleted, check logs that only 1 dynamoDb operation is performed)
Check what happens when you add 40 records + modify 40 records + delete 40 records (DynamoDb supports only batches of 30 operations and less), should auto-batch

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

1 participant