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 C9608200A5B for ; Wed, 25 May 2016 15:54:36 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C8664160A39; Wed, 25 May 2016 13:54:36 +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 E12DF160A3A for ; Wed, 25 May 2016 15:54:35 +0200 (CEST) Received: (qmail 4229 invoked by uid 500); 25 May 2016 13:39:35 -0000 Mailing-List: contact dev-help@curator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@curator.apache.org Delivered-To: mailing list dev@curator.apache.org Received: (qmail 3729 invoked by uid 99); 25 May 2016 13:39:35 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 May 2016 13:39:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 734CC1A4EF5 for ; Wed, 25 May 2016 13:36:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.02 X-Spam-Level: X-Spam-Status: No, score=-0.02 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=jordanzimmerman-com.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id gSiXBetj_FP7 for ; Wed, 25 May 2016 13:36:36 +0000 (UTC) Received: from mail-yw0-f182.google.com (mail-yw0-f182.google.com [209.85.161.182]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id B82E85F39B for ; Wed, 25 May 2016 13:36:35 +0000 (UTC) Received: by mail-yw0-f182.google.com with SMTP id c127so47325702ywb.1 for ; Wed, 25 May 2016 06:36:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jordanzimmerman-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=IVrfprSGmNfpea0Ad4EinGRuo6Ui6TfekM7lkG82ffY=; b=xBs29Z8Qr2u/42udYWfDHIUHlBA9N3giSPAkwcvy1+/Hb2Oobp5t7hlLh2R+n4Y1v3 lEJy/aF+OB1yCuCGHu6URxB09J9cz616+RCHSbNKHO7I0Hde7I4WviafOpCt+3KomOGo PiXcX4IBk0Mf6WfL8hhloIP+aZcTvL4zcx7nJoMTUdXh1gSrDb8Iu93mbLB0N6o4SHOw +CwjGts6Se3qOKe97GU0gBtl1j5OPM/JbTVzxsyDJm159lJdGYQMVJA6XKrK5/+TCts3 zG21zFIbnDOHtkCKqnJL8OVKqXqvoHWv5FYK0T0gHdaouCaxgCFGR2nh7/pXym0anKhY OcrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=IVrfprSGmNfpea0Ad4EinGRuo6Ui6TfekM7lkG82ffY=; b=iulM0OKYbr7qOtNzWwiEPe5EY/OPXfffVuMtBlP+DoblojJCN1/4su6ZNOSbze+6wC Db2soh0VTp6YvK3T0Iof4jGCp1CEXIvX2h23BemnO/uI4+K4YQyRtJsuPmMtThhAGLnw BtUiq0Shc4vrJnV+piLjcG5cB8D7A9ahanLPUg99snovFBEUvpscEPcJp4s3QzsEG8bI 6CYHTf3UcvYkcSr7uom7VA64b3GSxbltxwY1wdUV1SFJTMy4ZXga7sVI08jEpB55JOfX YhfKmS0KfoDM9cVRBTNbI0oGOXX5c183nxIdr0NUYDGLWsLdPLoS6m9kMBDHvnJtx32f ZzOQ== X-Gm-Message-State: ALyK8tKAzuI/BeTitmRQdWdWGkLRwhIxg3I52MOxH6JbfaDPHIcUa3ZJcPg2NGMivsFdaA== X-Received: by 10.37.3.198 with SMTP id 189mr2133781ybd.11.1464183394486; Wed, 25 May 2016 06:36:34 -0700 (PDT) Received: from [10.0.1.78] ([186.74.13.5]) by smtp.gmail.com with ESMTPSA id u130sm25290769ywa.17.2016.05.25.06.36.32 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 May 2016 06:36:33 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: CURATOR-3.0 tests From: Jordan Zimmerman In-Reply-To: Date: Wed, 25 May 2016 08:36:30 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <18A7FA8A-6D57-4861-9740-7DFE5DBF8065@jordanzimmerman.com> References: <9BFB70F4-3965-4711-8838-B9CBC33F1BD0@jordanzimmerman.com> To: dev@curator.apache.org, Scott Blum X-Mailer: Apple Mail (2.3124) archived-at: Wed, 25 May 2016 13:54:36 -0000 Scott can you take a look? -Jordan > On May 25, 2016, at 4:35 AM, Cameron McKenzie = wrote: >=20 > Tree cache tests are still failing. I've tried a few times but no = love: >=20 > TestTreeCacheEventOrdering>TestEventOrdering.testEventOrdering:151 = actual 6 > expected -31: >=20 > I will have a look into what's going on in the morning. Given that = these > may take some messing about to fix up, do we just want to vote on = 2.11.0 > separately, as that is all ready to go? > cheers >=20 > On Wed, May 25, 2016 at 5:34 PM, Jordan Zimmerman < > jordan@jordanzimmerman.com> wrote: >=20 >> Great news. Thanks. >>=20 >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> Jordan Zimmerman >>=20 >>> On May 25, 2016, at 12:37 AM, Cameron McKenzie = >> wrote: >>>=20 >>> I have fixed up the test case, all good now. >>>=20 >>> On Wed, May 25, 2016 at 1:45 PM, Cameron McKenzie < >> mckenzie.cam@gmail.com> >>> wrote: >>>=20 >>>> Looks like it was introduced with the schema validation stuff. It = now >> does >>>> an ACL check prior to the backgrounding call. Because the unit test >> uses a >>>> bogus ACL provider it just throws an exception >>>>=20 >>>> final String adjustedPath =3D >>>> adjustPath(client.fixForNamespace(givenPath, >> createMode.isSequential())); >>>> List aclList =3D acling.getAclList(adjustedPath); >>>>=20 >>>> = client.getSchemaSet().getSchema(givenPath).validateCreate(createMode, >> data, >>>> aclList); >>>>=20 >>>> String returnPath =3D null; >>>> if ( backgrounding.inBackground() ) >>>> { >>>> pathInBackground(adjustedPath, data, givenPath); >>>>=20 >>>> So, I guess the answer is to get the test to force a failure in a >>>> different way. With the UnhandledErrorListener, the expectation is = that >>>> this only gets called on backgrounding operations? >>>> cheers >>>>=20 >>>> On Wed, May 25, 2016 at 1:39 PM, Cameron McKenzie < >> mckenzie.cam@gmail.com> >>>> wrote: >>>>=20 >>>>> Same on the master branch, but it passes there, so maybe something = has >>>>> legitimately broken the test. Will let you know if I get stuck. >>>>> cheers >>>>>=20 >>>>> On Wed, May 25, 2016 at 1:36 PM, Jordan Zimmerman < >>>>> jordan@jordanzimmerman.com> wrote: >>>>>=20 >>>>>> Let me know if you need help. >>>>>>=20 >>>>>> It might be a bad merge. Have you compared it to the master = branch? >>>>>>=20 >>>>>> -JZ >>>>>>=20 >>>>>>>> On May 24, 2016, at 10:31 PM, Cameron McKenzie < >> mckenzie.cam@gmail.com> >>>>>>> wrote: >>>>>>>=20 >>>>>>> Guys, >>>>>>> There's a test TestFrameworkBackground:testErrorListener that is >>>>>> failing >>>>>>> consistently on the CURATOR-3.0 branch. >>>>>>>=20 >>>>>>> I can't see how it has ever worked. It seems to try and provoke = an >>>>>> error >>>>>>> via a bad ACL provider. >>>>>>>=20 >>>>>>> But this ACL provider is called by the CreateBuilderImpl prior = to the >>>>>>> backgrounding call, which means that the exception that it = throws >>>>>> happens >>>>>>> in the main Thread of the unit test. So, it just throws an >>>>>>> UnsupportedOperationException which is propogated up the stack = at >> which >>>>>>> point the unit test fails. >>>>>>>=20 >>>>>>> So, I will look at fixing this, but I just don't understand how = it >> ever >>>>>>> worked? >>>>>>> cheers >>>>=20 >>=20