You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/10/11 08:25:46 UTC

[GitHub] jaydoane commented on a change in pull request #1605: Feature/user partitioned databases

jaydoane commented on a change in pull request #1605: Feature/user partitioned databases
URL: https://github.com/apache/couchdb/pull/1605#discussion_r222814878
 
 

 ##########
 File path: src/mem3/src/mem3.erl
 ##########
 @@ -409,4 +409,26 @@ allowed_nodes_test_() ->
         ]
     }]}.
 
+is_partitioned_false_shards_db_test() ->
+    meck:expect(config, get, fun (_, _, Default) -> Default end),
+    ?assertEqual(is_partitioned(<<"_dbs">>), false),
+    meck:unload().
 
 Review comment:
   This should be in a `teardown` function because leaving meck loaded in the case of test failure will cause later tests to fail in mysterious ways.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services