couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [1/2] couch commit: updated refs/heads/master to fc082b4
Date Thu, 06 Oct 2016 19:35:32 GMT
Repository: couchdb-couch
Updated Branches:
  refs/heads/master 01c2b5ce9 -> fc082b4b2


Replace `stale` with `update` in compression tests

COUCHDB-3063


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/334618e8
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/334618e8
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/334618e8

Branch: refs/heads/master
Commit: 334618e8bfc205948822edbcb8e98fc0b6cc438a
Parents: 4476595
Author: Benjamin Anderson <b@banjiewen.net>
Authored: Sun Jul 17 15:51:12 2016 -0700
Committer: Benjamin Anderson <b@banjiewen.net>
Committed: Sun Jul 17 15:51:12 2016 -0700

----------------------------------------------------------------------
 test/couchdb_file_compression_tests.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/334618e8/test/couchdb_file_compression_tests.erl
----------------------------------------------------------------------
diff --git a/test/couchdb_file_compression_tests.erl b/test/couchdb_file_compression_tests.erl
index a62114e..01fe709 100644
--- a/test/couchdb_file_compression_tests.erl
+++ b/test/couchdb_file_compression_tests.erl
@@ -161,7 +161,7 @@ populate_db(Db, NumDocs) ->
 refresh_index(DbName) ->
     {ok, Db} = couch_db:open_int(DbName, []),
     {ok, DDoc} = couch_db:open_doc(Db, ?DDOC_ID, [ejson_body]),
-    couch_mrview:query_view(Db, DDoc, <<"by_id">>, [{stale, false}]),
+    couch_mrview:query_view(Db, DDoc, <<"by_id">>, [{update, true}]),
     ok = couch_db:close(Db).
 
 compact_db(DbName) ->


Mime
View raw message