diff options
author | Nick Vatamaniuc <vatamane@apache.org> | 2019-12-11 13:27:36 -0500 |
---|---|---|
committer | Nick Vatamaniuc <nickva@users.noreply.github.com> | 2019-12-11 14:31:38 -0500 |
commit | cda94302d7b1462061cc0ae14a1c714950b61d61 (patch) | |
tree | abc6f3e46445e91a312757304b57ddbbacfd6747 | |
parent | 897085c6181e1e54e12bbf7fba34921250cd2691 (diff) | |
download | couchdb-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.erl | 5 |
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). |