You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/07/25 20:15:59 UTC

[GitHub] jaydoane opened a new pull request #1468: Port bulk_docs.js

jaydoane opened a new pull request #1468: Port bulk_docs.js
URL: https://github.com/apache/couchdb/pull/1468
 
 
   <!-- Thank you for your contribution!
   
        Please file this form by replacing the Markdown comments
        with your text. If a section needs no action - remove it.
   
        Also remember, that CouchDB uses the Review-Then-Commit (RTC) model
        of code collaboration. Positive feedback is represented +1 from committers
        and negative is a -1. The -1 also means veto, and needs to be addressed
        to proceed. Once there are no objections, the PR can be merged by a
        CouchDB committer.
   
        See: http://couchdb.apache.org/bylaws.html#decisions for more info. -->
   
   ## Overview
   
   <!-- Please give a short brief for the pull request,
        what problem it solves or how it makes things better. -->
   
   Port bulk_docs.js
   
   ## Testing recommendations
   
   <!-- Describe how we can test your changes.
        Does it provides any behaviour that the end users
        could notice? -->
   
   ```
   $ mix test --trace test/bulk_docs_test.exs
   Excluding tags: [pending: true]
   
   
   BulkDocsTest
     * test bulk docs raises conflict error for combined update & delete (475.6ms)
     * test bulk docs can create, update, & delete many docs per request (858.6ms)
     * test bulk docs supplies `id` if not provided in doc (169.4ms)
     * test bulk docs can detect conflicts (469.8ms)
     * test bulk docs raises error for invlaid `docs` parameter (253.9ms)
     * test bulk docs raises error for missing `docs` parameter (157.7ms)
     * test bulk docs raises error for `all_or_nothing` option (237.6ms)
     * test bulk docs emits conflict error for duplicate doc `_id`s (202.7ms)
     * test bulk docs raises error for invlaid `new_edits` parameter (207.1ms)
   
   CouchTestCase
   
   
   Finished in 3.5 seconds
   9 tests, 0 failures
   
   Randomized with seed 858127
   ```
   
   ## Related Issues or Pull Requests
   
   <!-- If your changes affects multiple components in different
        repositories please put links to those issues or pull requests here.  -->
   
   ## Checklist
   
   - [x] Code is written and works correctly;
   - [x] Changes are covered by tests;
   - [ ] Documentation reflects the changes;
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services