couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [20/50] git commit: Mock rexi:kill because of new governor
Date Fri, 17 Jan 2014 21:50:20 GMT
Mock rexi:kill because of new governor


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/3d58e434
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/tree/3d58e434
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/diff/3d58e434

Branch: refs/heads/import
Commit: 3d58e4349554f05676c754b9e2e9778a1e9c5be7
Parents: 0158038
Author: Adam Kocoloski <adam@cloudant.com>
Authored: Mon Feb 11 21:11:49 2013 -0500
Committer: Adam Kocoloski <adam@cloudant.com>
Committed: Mon Feb 11 21:11:49 2013 -0500

----------------------------------------------------------------------
 src/fabric_view.erl | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/3d58e434/src/fabric_view.erl
----------------------------------------------------------------------
diff --git a/src/fabric_view.erl b/src/fabric_view.erl
index 63ab3f4..48cbe9a 100644
--- a/src/fabric_view.erl
+++ b/src/fabric_view.erl
@@ -308,6 +308,8 @@ is_progress_possible_test() ->
     ?assertEqual(is_progress_possible(mk_cnts(T5)),false).
 
 remove_overlapping_shards_test() ->
+    meck:new(rexi),
+    meck:expect(rexi, kill, fun(_, _) -> ok end),
     EndPoint = 2 bsl 31,
     T1 = [[0,10],[11,20],[21,EndPoint-1]],
     Shards = mk_cnts(T1,3),


Mime
View raw message