You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2019/02/22 17:28:13 UTC
[couchdb-khash] 06/25: Fix tests on R14B01
This is an automated email from the ASF dual-hosted git repository.
jaydoane pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-khash.git
commit 36cccf31c21601c6ae4d94a77189f28ed2856651
Author: Paul J. Davis <pa...@gmail.com>
AuthorDate: Fri Aug 16 11:13:58 2013 -0500
Fix tests on R14B01
---
test/004-race-dict-fetch.t | 4 ++--
test/005-race-dict-store.t | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
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").
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").