Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 90C501800A for ; Tue, 28 Jul 2015 22:42:28 +0000 (UTC) Received: (qmail 45291 invoked by uid 500); 28 Jul 2015 22:42:28 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 44979 invoked by uid 500); 28 Jul 2015 22:42:27 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 43987 invoked by uid 99); 28 Jul 2015 22:42:26 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2015 22:42:26 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id AF9E6E36EA; Tue, 28 Jul 2015 22:42:26 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: kxepal@apache.org To: commits@couchdb.apache.org Date: Tue, 28 Jul 2015 22:42:37 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [12/54] jiffy commit: updated refs/heads/master to ef77de4 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 Authored: Mon Jun 16 21:39:49 2014 -0500 Committer: Paul J. Davis 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) ->