Return-Path: X-Original-To: apmail-accumulo-commits-archive@www.apache.org Delivered-To: apmail-accumulo-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 E302B11D65 for ; Mon, 4 Aug 2014 19:01:46 +0000 (UTC) Received: (qmail 82762 invoked by uid 500); 4 Aug 2014 19:01:46 -0000 Delivered-To: apmail-accumulo-commits-archive@accumulo.apache.org Received: (qmail 82732 invoked by uid 500); 4 Aug 2014 19:01:46 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 82721 invoked by uid 99); 4 Aug 2014 19:01:46 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2014 19:01:46 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 7DF2291F3E9; Mon, 4 Aug 2014 19:01:46 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ecn@apache.org To: commits@accumulo.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: git commit: ACCUMULO-9998 nightly builds are failing, ensure all metadata tables are online before starting the test Date: Mon, 4 Aug 2014 19:01:46 +0000 (UTC) Repository: accumulo Updated Branches: refs/heads/master 8cc6d77d3 -> a050741af ACCUMULO-9998 nightly builds are failing, ensure all metadata tables are online before starting the test Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/a050741a Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/a050741a Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/a050741a Branch: refs/heads/master Commit: a050741afb4d97b7383de02c20e5b664b2610c63 Parents: 8cc6d77 Author: Eric C. Newton Authored: Mon Aug 4 15:01:42 2014 -0400 Committer: Eric C. Newton Committed: Mon Aug 4 15:01:42 2014 -0400 ---------------------------------------------------------------------- test/src/test/java/org/apache/accumulo/test/WaitForBalanceIT.java | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/a050741a/test/src/test/java/org/apache/accumulo/test/WaitForBalanceIT.java ---------------------------------------------------------------------- diff --git a/test/src/test/java/org/apache/accumulo/test/WaitForBalanceIT.java b/test/src/test/java/org/apache/accumulo/test/WaitForBalanceIT.java index 1b046ae..a331faa 100644 --- a/test/src/test/java/org/apache/accumulo/test/WaitForBalanceIT.java +++ b/test/src/test/java/org/apache/accumulo/test/WaitForBalanceIT.java @@ -42,6 +42,9 @@ public class WaitForBalanceIT extends ConfigurableMacIT { @Test(timeout = 30 * 1000) public void test() throws Exception { final Connector c = getConnector(); + // ensure the metadata table is online + for (@SuppressWarnings("unused") Entry unused : c.createScanner(MetadataTable.NAME, Authorizations.EMPTY)) + ; c.instanceOperations().waitForBalance(); assertTrue(isBalanced()); final String tableName = getUniqueNames(1)[0];