couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [couchdb] 23/33: WIP - couch_mrview_purge_docs_tests.erl
Date Mon, 26 Mar 2018 20:55:54 GMT
This is an automated email from the ASF dual-hosted git repository.

davisp pushed a commit to branch COUCHDB-3326-clustered-purge-davisp-refactor
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit ca347eeb27a360f3dd087e82d11425e94113da13
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
AuthorDate: Mon Mar 26 13:16:57 2018 -0500

    WIP - couch_mrview_purge_docs_tests.erl
---
 src/couch_mrview/test/couch_mrview_purge_docs_tests.erl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/couch_mrview/test/couch_mrview_purge_docs_tests.erl b/src/couch_mrview/test/couch_mrview_purge_docs_tests.erl
index 5ab4f21..b4af2c5 100644
--- a/src/couch_mrview/test/couch_mrview_purge_docs_tests.erl
+++ b/src/couch_mrview/test/couch_mrview_purge_docs_tests.erl
@@ -140,7 +140,7 @@ test_purge_with_compact1(Db) ->
 
         {ok, Db2} = couch_db:reopen(Db1),
         _Result1 = run_query(Db2, []),
-        {ok, PurgedIdRevs} = couch_db:fold_purged_docs(
+        {ok, PurgedIdRevs} = couch_db:fold_purge_infos(
             Db2,
             0,
             fun fold_fun/2,
@@ -188,7 +188,7 @@ test_purge_with_compact2(Db) ->
         % to mrview
         {ok, Db2} = couch_db:reopen(Db1),
         _Result1 = run_query(Db2, []),
-        {ok, PurgedIdRevs} = couch_db:fold_purged_docs(
+        {ok, PurgedIdRevs} = couch_db:fold_purge_infos(
             Db2,
             0,
             fun fold_fun/2,
@@ -206,7 +206,7 @@ test_purge_with_compact2(Db) ->
         % check the remaining purge requests in purge tree
         {ok, Db4} = couch_db:reopen(Db3),
         {ok, OldestPSeq} = couch_db:get_oldest_purge_seq(Db4),
-        {ok, PurgedIdRevs2} = couch_db:fold_purged_docs(
+        {ok, PurgedIdRevs2} = couch_db:fold_purge_infos(
             Db4,
             OldestPSeq - 1,
             fun fold_fun/2,

-- 
To stop receiving notification emails like this one, please contact
davisp@apache.org.

Mime
View raw message