jaydoane edited a comment on issue #1468: Port bulk_docs.js
URL: https://github.com/apache/couchdb/pull/1468#issuecomment-410099994
 
 
   @iilyak interesting that you got a 202 from a POST to _bulk_docs, since the 
docs don't say that's an expected result: 
http://docs.couchdb.org/en/latest/api/database/bulk-api.html#db-bulk-docs. I 
take it that you double checked you had all nodes up and connected?
   
   I ran that test over 100 times using `for i in {1..100}; do mix test --trace 
test/bulk_docs_test.exs:45 || break; done` and did not see any errors. However, 
if you think we should also expect 202 from _bulk_docs POST, I can relax the 
assertion constraints.
   
   Also, if you replace the failing assertion with e.g.
   `    assert Enum.member?([201, 202], resp.status_code) and length(resp.body) 
== length(docs)`
   does the test still fail elsewhere, or does it pass?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to