couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [12/54] jiffy commit: updated refs/heads/master to ef77de4
Date Tue, 28 Jul 2015 22:42:37 GMT
Fix timeouts for short doubles

Timeouts apparently don't actually work unless you use a test generator.
Which makes sense in hindsight.


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

Branch: refs/heads/master
Commit: eb70deb8317cb04d09eed5a298123e6f6d00d6e3
Parents: a232221
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Mon Jun 16 21:39:49 2014 -0500
Committer: Paul J. Davis <paul.joseph.davis@gmail.com>
Committed: Mon Jun 16 21:40:26 2014 -0500

----------------------------------------------------------------------
 test/jiffy_10_short_double_tests.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/blob/eb70deb8/test/jiffy_10_short_double_tests.erl
----------------------------------------------------------------------
diff --git a/test/jiffy_10_short_double_tests.erl b/test/jiffy_10_short_double_tests.erl
index bb2f1b8..56272fe 100644
--- a/test/jiffy_10_short_double_tests.erl
+++ b/test/jiffy_10_short_double_tests.erl
@@ -12,9 +12,9 @@
 filename() -> "../test/cases/short-doubles.txt".
 
 
-short_double_test() ->
+short_double_test_() ->
     {ok, Fd} = file:open(filename(), [read, binary, raw]),
-    {"all doubles round trip", {timeout, 300, ?assertEqual(0, run(Fd, 0))}}.
+    {timeout, 300, ?_assertEqual(0, run(Fd, 0))}.
 
 
 run(Fd, Acc) ->


Mime
View raw message