Return-Path: X-Original-To: apmail-cassandra-client-dev-archive@minotaur.apache.org Delivered-To: apmail-cassandra-client-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 145309290 for ; Sat, 1 Oct 2011 11:46:41 +0000 (UTC) Received: (qmail 80706 invoked by uid 500); 1 Oct 2011 11:46:40 -0000 Delivered-To: apmail-cassandra-client-dev-archive@cassandra.apache.org Received: (qmail 80660 invoked by uid 500); 1 Oct 2011 11:46:40 -0000 Mailing-List: contact client-dev-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: client-dev@cassandra.apache.org Delivered-To: mailing list client-dev@cassandra.apache.org Received: (qmail 80650 invoked by uid 99); 1 Oct 2011 11:46:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Oct 2011 11:46:40 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of robertj@promedicalinc.com designates 97.66.157.146 as permitted sender) Received: from [97.66.157.146] (HELO zixvpm01.promedicalinc.com) (97.66.157.146) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Oct 2011 11:46:35 +0000 Received: from zixvpm01.promedicalinc.com (ZixVPM [127.0.0.1]) by Outbound.promedicalinc.com (Proprietary) with ESMTP id 9F99919D80BD for ; Sat, 1 Oct 2011 06:42:50 -0400 (EDT) Received: from mail.promedicalinc.com (mail.promedicalinc.com [97.66.157.136]) by zixvpm01.promedicalinc.com (Proprietary) with ESMTP id 21A5019D8047 for ; Sat, 1 Oct 2011 06:42:49 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.promedicalinc.com (Postfix) with ESMTP id 2781519F2002 for ; Sat, 1 Oct 2011 07:46:48 -0400 (EDT) X-Virus-Scanned: amavisd-new at promedicalinc.com Received: from mail.promedicalinc.com ([127.0.0.1]) by localhost (mail.promedicalinc.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R0O7pHV10nXw for ; Sat, 1 Oct 2011 07:46:44 -0400 (EDT) Received: from mail.promedicalinc.com (mail.promedicalinc.com [97.66.157.136]) by mail.promedicalinc.com (Postfix) with ESMTP id 3E0D019F2001; Sat, 1 Oct 2011 07:46:44 -0400 (EDT) Subject: Re: Ruby cassandra client: unit tests no longer pass 100% References: <874nztb1he.fsf@lambda.ihatejava.org> Content-Transfer-Encoding: quoted-printable From: Robert Jackson Content-Type: text/plain; charset=us-ascii In-Reply-To: <874nztb1he.fsf@lambda.ihatejava.org> Message-Id: <45E25DD8-E664-486F-B94B-CCF9640BCDCA@promedicalinc.com> Date: Sat, 01 Oct 2011 07:46:44 -0400 (EDT) To: "client-dev@cassandra.apache.org" Cc: "client-dev@cassandra.apache.org" MIME-Version: 1.0 X-Mailer: Zimbra 7.0.1_GA_3105 (MobileSync - Apple-iPhone3C1/811.2) Sorry, but I have not had a chance to take a look at your pull request.=20 I'll try to look into it this weekend, and either merge it in or give some s= uggestions on any changes needed.=20 Robert Jackson Sent from my iPhone On Oct 1, 2011, at 3:45 AM, shyamal wrote: >=20 > Hi, >=20 > The unit tests for the fauna cassandra ruby client > (https://github.com/fauna/cassandra/) consistently fail for me: >=20 > $ ruby ./test/cassandra_test.rb -n test_each > .... > 1) Failure: > test_each(CassandraTest) [./test/cassandra_test.rb:354]: > each limits to specified count. > <7> expected but was > <10>. >=20 > As far as I can tell this is because get_range_batch was modified to > discard rows when a block is provided as a way to reduce memory > footprint. This broke support for a :key_count. >=20 > I submitted a request to what I think is "upstream" for this project at > https://github.com/fauna/cassandra/pull/122. Since I've got no feedback > I'd appreciate some confirmation that this was the right place to > discuss the library (and, of course, any feedback on the failure case > itself is welcome!). >=20 > Cheers! > Shyamal >=20 > PS: Sorry if you see duplicate messages, I seemed to have had trouble > posting to this list earlier today.