eiri commented on a change in pull request #1085: Return update_seq and offset
when update_seq is true and keys is set
URL: https://github.com/apache/couchdb/pull/1085#discussion_r161764677
##########
File path: src/chttpd/test/chttpd_db_test.erl
##########
@@ -187,6 +190,32 @@ should_return_409_for_put_att_nonexistent_rev(Url) ->
end).
+should_return_update_seq_when_set_on_all_docs(Url) ->
+ ?_test(begin
+ [create_doc(Url, "testdoc" ++ ?i2l(I)) || I <- lists:seq(1, 3)],
+ {ok, RC, _, RespBody} = test_request:get(Url ++ "/_all_docs/"
Review comment:
Getting
`/home/vagrant/git/release/couchdb/src/chttpd/test/chttpd_db_test.erl:196:
Warning: variable 'RC' is unused` here.
Maybe add `?assertEqual(200, RC)` here and below to catch possible bad reply
from `/_all_docs`?
----------------------------------------------------------------
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