You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2018/03/26 20:55:54 UTC
[couchdb] 23/33: WIP - couch_mrview_purge_docs_tests.erl
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 <pa...@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.