jiangphcn commented on a change in pull request #560: Fix broken eunit test in 
changes_since_test_ test suite
URL: https://github.com/apache/couchdb/pull/560#discussion_r120065004
 
 

 ##########
 File path: src/couch_mrview/src/couch_mrview_test_util.erl
 ##########
 @@ -53,7 +53,8 @@ ddoc(changes) ->
     couch_doc:from_json_obj({[
         {<<"_id">>, <<"_design/bar">>},
         {<<"options">>, {[
-            {<<"seq_indexed">>, true}
+            {<<"seq_indexed">>, true},
+            {<<"keyseq_indexed">>, true}
 
 Review comment:
   If query only contains "since", it should be enough to enable "seq_indexed". 
However, in some of test cases in this test suite, the query contains both 
"start_key" and "end_key".  This needs to enable "keyseq_indexed". Thus, the 
test can check `key_byseq_btree` instead of `seq_btree` to get expected 
results. I sorted out the test cases and only enable these two options when 
necessary.
 
----------------------------------------------------------------
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