You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2014/08/01 11:06:20 UTC

[7/8] git commit: Fix tests on R14B01

Fix tests on R14B01


Project: http://git-wip-us.apache.org/repos/asf/couchdb-khash/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-khash/commit/36cccf31
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-khash/tree/36cccf31
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-khash/diff/36cccf31

Branch: refs/heads/windsor-merge
Commit: 36cccf31c21601c6ae4d94a77189f28ed2856651
Parents: 858d0e3
Author: Paul J. Davis <pa...@gmail.com>
Authored: Fri Aug 16 11:13:58 2013 -0500
Committer: Robert Newson <rn...@apache.org>
Committed: Wed Jul 30 17:16:33 2014 +0100

----------------------------------------------------------------------
 test/004-race-dict-fetch.t | 4 ++--
 test/005-race-dict-store.t | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-khash/blob/36cccf31/test/004-race-dict-fetch.t
----------------------------------------------------------------------
diff --git a/test/004-race-dict-fetch.t b/test/004-race-dict-fetch.t
index 4c6509c..7102a9f 100755
--- a/test/004-race-dict-fetch.t
+++ b/test/004-race-dict-fetch.t
@@ -21,8 +21,8 @@ main([]) ->
 
 
 test() ->
-    {DTime, _} = timer:tc(fun() -> test_dict() end),
-    {KTime, _} = timer:tc(fun() -> test_khash() end),
+    {DTime, _} = timer:tc(fun() -> test_dict() end, []),
+    {KTime, _} = timer:tc(fun() -> test_khash() end, []),
     etap:diag("Dict:  ~10b", [DTime]),
     etap:diag("KHash: ~10b", [KTime]),
     etap:is_greater(DTime, KTime, "Dict is slower than khash").

http://git-wip-us.apache.org/repos/asf/couchdb-khash/blob/36cccf31/test/005-race-dict-store.t
----------------------------------------------------------------------
diff --git a/test/005-race-dict-store.t b/test/005-race-dict-store.t
index a390d7c..de73c62 100755
--- a/test/005-race-dict-store.t
+++ b/test/005-race-dict-store.t
@@ -20,8 +20,8 @@ main([]) ->
 
 
 test() ->
-    {DTime, _} = timer:tc(fun() -> test_dict() end),
-    {KTime, _} = timer:tc(fun() -> test_khash() end),
+    {DTime, _} = timer:tc(fun() -> test_dict() end, []),
+    {KTime, _} = timer:tc(fun() -> test_khash() end, []),
     etap:diag("Dict:  ~10b", [DTime]),
     etap:diag("KHash: ~10b", [KTime]),
     etap:is_greater(DTime, KTime, "Dict is slower than khash").