Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 98513 invoked from network); 14 Feb 2010 03:18:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Feb 2010 03:18:22 -0000 Received: (qmail 47220 invoked by uid 500); 14 Feb 2010 03:18:22 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 47135 invoked by uid 500); 14 Feb 2010 03:18:21 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 47125 invoked by uid 99); 14 Feb 2010 03:18:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Feb 2010 03:18:21 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ryanobjc@gmail.com designates 209.85.223.196 as permitted sender) Received: from [209.85.223.196] (HELO mail-iw0-f196.google.com) (209.85.223.196) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Feb 2010 03:18:12 +0000 Received: by iwn34 with SMTP id 34so3960487iwn.21 for ; Sat, 13 Feb 2010 19:17:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=/2PAsb8FQ0ASVmTonixkj6GHnDnUzUXY2f9T98/+7mI=; b=NRLSLXFVU2OxMtC/2CwQo+c+4QiNQ/Kf7d3NcF7zM00ZsPJP9MkiCtgLLqK6QGxZc7 fPe0ZeJtWtPVfNdo0dARGG3kBKZR2V3Ej2cSfuswnPpSRkTau+orHIzLlLoARbU0P7hc fcEIPyMGVmp4TggjhfDiVXFroM4SXOatfcw90= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ecbqX/nQ+SHzVKz7mQfqW9o2Qg2eWnnnR1xiPgq3NY8bpls5WTyl3P5HrynpfEAH3b Aj8zJJHX88UsasG6XRWM8mMIV7cI7cZxGGkThxJIhVZWUZCT2dUPEwg5ZEAzCrure2PF 6cdGQGOdo3uz1OCLOE6+IzAe/BnePlejH5P54= MIME-Version: 1.0 Received: by 10.231.182.142 with SMTP id cc14mr2653807ibb.81.1266117471547; Sat, 13 Feb 2010 19:17:51 -0800 (PST) In-Reply-To: <769FDE37-B843-4656-BCCC-0805CB2B2E30@aconex.com> References: <769FDE37-B843-4656-BCCC-0805CB2B2E30@aconex.com> Date: Sat, 13 Feb 2010 19:17:51 -0800 Message-ID: <78568af11002131917h6f198b29o4c258d874cc4ccc7@mail.gmail.com> Subject: Re: help: test failure (under Maven) From: Ryan Rawson To: hbase-dev@hadoop.apache.org Content-Type: multipart/alternative; boundary=0016364d310722b30e047f86f2e4 X-Virus-Checked: Checked by ClamAV on apache.org --0016364d310722b30e047f86f2e4 Content-Type: text/plain; charset=ISO-8859-1 Ill help you later... I'm out and about but it looks like the test is stale since the new default for that value is indeed 3000. Probably can just change it to 3000 for now... On Feb 13, 2010 7:12 PM, "Paul Smith" wrote: Ok, I'm down to a single test failure I just don't get while running under Maven (HBASE-2099). ------------------------------------------------------------------------------- Test set: org.apache.hadoop.hbase.zookeeper.HQuorumPeerTest ------------------------------------------------------------------------------- Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.553 sec <<< FAILURE! testMakeZKProps(org.apache.hadoop.hbase.zookeeper.HQuorumPeerTest) Time elapsed: 0.386 sec <<< FAILURE! junit.framework.AssertionFailedError: expected:<2000> but was:<3000> which is this method: public void testMakeZKProps() { Properties properties = HQuorumPeer.makeZKProps(conf); assertEquals(2000, Integer.parseInt(properties.getProperty("tickTime"))); I'm guessing that the default is 3000 (certainly hbase-default.xml has it), but the tests expectation is that it is changed by the conf to be 2000, perhaps because some expected resource is not on the classpath that contains overridden properties, but I'm stuffed if I can work out where within the test the expected modification to this tickTime property to be 2000. I even tried doing a 'find... | xargs fgrep ..' sort of search to locate both '2000' and 'tickTime' but nothing really jumps out at me at the moment. I really think I've stuffed up a directory move or something, so if someone can point me to the file this test should be getting this from I should be able to work it out. If I can fix this, then 'mvn test' passes cleanly! (Albeit taking a _looong_ time, like 10 minutes... How long does it generally take under an Ivy build? Just for comparison, again I may have configured something wrong). cheers, Paul --0016364d310722b30e047f86f2e4--