You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ec...@apache.org on 2014/08/04 21:01:46 UTC
git commit: ACCUMULO-9998 nightly builds are failing,
ensure all metadata tables are online before starting the test
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 <er...@gmail.com>
Authored: Mon Aug 4 15:01:42 2014 -0400
Committer: Eric C. Newton <er...@gmail.com>
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<Key,Value> unused : c.createScanner(MetadataTable.NAME, Authorizations.EMPTY))
+ ;
c.instanceOperations().waitForBalance();
assertTrue(isBalanced());
final String tableName = getUniqueNames(1)[0];