summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Vatamaniuc <vatamane@apache.org>2019-12-11 13:27:36 -0500
committerNick Vatamaniuc <nickva@users.noreply.github.com>2019-12-11 14:31:38 -0500
commitcda94302d7b1462061cc0ae14a1c714950b61d61 (patch)
treeabc6f3e46445e91a312757304b57ddbbacfd6747
parent897085c6181e1e54e12bbf7fba34921250cd2691 (diff)
downloadcouchdb-cda94302d7b1462061cc0ae14a1c714950b61d61.tar.gz
Fix multidb changes test
The test broke during the removal of view-based changes PR Issue: https://github.com/apache/couchdb/pull/2324
-rw-r--r--src/couch/src/couch_multidb_changes.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/couch/src/couch_multidb_changes.erl b/src/couch/src/couch_multidb_changes.erl
index dad363695..ccdc0f9ac 100644
--- a/src/couch/src/couch_multidb_changes.erl
+++ b/src/couch/src/couch_multidb_changes.erl
@@ -822,8 +822,9 @@ kill_mock_changes_reader_and_get_its_args(Pid) ->
mock_changes_reader() ->
meck:expect(couch_changes, handle_db_changes,
- fun(_ChArgs, _Req, db) ->
- fun mock_changes_reader_loop/1
+ fun
+ (_ChArgs, _Req, db) -> fun mock_changes_reader_loop/1;
+ (_ChArgs, _Req, dbs) -> fun(_) -> ok end
end).