Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5ECCB200D11 for ; Mon, 2 Oct 2017 22:41:41 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5827C1609EF; Mon, 2 Oct 2017 20:41:41 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C4C331609C0 for ; Mon, 2 Oct 2017 22:41:40 +0200 (CEST) Received: (qmail 34624 invoked by uid 500); 2 Oct 2017 20:41:39 -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 34615 invoked by uid 99); 2 Oct 2017 20:41:39 -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; Mon, 02 Oct 2017 20:41:39 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 61022F5662; Mon, 2 Oct 2017 20:41:38 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: vatamane@apache.org To: commits@couchdb.apache.org Message-Id: <732234b2e50444b58ab5346236dc38a7@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: couchdb-khash git commit: Fix iterator expiry test Date: Mon, 2 Oct 2017 20:41:38 +0000 (UTC) archived-at: Mon, 02 Oct 2017 20:41:41 -0000 Repository: couchdb-khash Updated Branches: refs/heads/fix-iterator-test [created] 8048aaf74 Fix iterator expiry test This test started failing with Erlang 20.0 release. The reason is that opaaque NIF resources stopped being identifed as empty binaries in Erlang so previously it matched but once refs were used it stopped matching. Fixes #855 Project: http://git-wip-us.apache.org/repos/asf/couchdb-khash/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-khash/commit/8048aaf7 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-khash/tree/8048aaf7 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-khash/diff/8048aaf7 Branch: refs/heads/fix-iterator-test Commit: 8048aaf74994b1f21a6259adcbe69ace3af4bbb3 Parents: 0ca7f7e Author: Nick Vatamaniuc Authored: Mon Oct 2 16:37:56 2017 -0400 Committer: Nick Vatamaniuc Committed: Mon Oct 2 16:37:56 2017 -0400 ---------------------------------------------------------------------- test/khash_test.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-khash/blob/8048aaf7/test/khash_test.erl ---------------------------------------------------------------------- diff --git a/test/khash_test.erl b/test/khash_test.erl index 20bd785..f19c858 100644 --- a/test/khash_test.erl +++ b/test/khash_test.erl @@ -240,7 +240,7 @@ no_expiration_iterators_test_() -> } end, fun({ok, H, I, Err}) -> - {ok, I} = khash:iter(H), + {ok, _OtherI} = khash:iter(H), {foo, bar} = khash:iter_next(I), end_of_table = khash:iter_next(I), {