ACCUMULO-2913 Increase repeated checks to counteract occasional test failures
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/7c4d620a Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/7c4d620a Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/7c4d620a Branch: refs/heads/master Commit: 7c4d620a9def000eabfd53d7eab9319e43b5a129 Parents: 73fc496 Author: Josh Elser <els...@apache.org> Authored: Tue Jul 1 01:22:22 2014 -0400 Committer: Josh Elser <els...@apache.org> Committed: Tue Jul 1 01:23:15 2014 -0400 ---------------------------------------------------------------------- .../test/replication/UnorderedWorkAssignerReplicationIT.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/7c4d620a/test/src/test/java/org/apache/accumulo/test/replication/UnorderedWorkAssignerReplicationIT.java ---------------------------------------------------------------------- diff --git a/test/src/test/java/org/apache/accumulo/test/replication/UnorderedWorkAssignerReplicationIT.java b/test/src/test/java/org/apache/accumulo/test/replication/UnorderedWorkAssignerReplicationIT.java index 8977754..7ea7e32 100644 --- a/test/src/test/java/org/apache/accumulo/test/replication/UnorderedWorkAssignerReplicationIT.java +++ b/test/src/test/java/org/apache/accumulo/test/replication/UnorderedWorkAssignerReplicationIT.java @@ -631,7 +631,7 @@ public class UnorderedWorkAssignerReplicationIT extends ConfigurableMacIT { long countTable = 0l; // Check a few times - for (int i = 0; i < 5; i++) { + for (int i = 0; i < 10; i++) { countTable = 0l; for (Entry<Key,Value> entry : connPeer.createScanner(peerTable1, Authorizations.EMPTY)) { countTable++; @@ -647,7 +647,7 @@ public class UnorderedWorkAssignerReplicationIT extends ConfigurableMacIT { Assert.assertTrue("Did not find any records in " + peerTable1 + " on peer", countTable > 0); - for (int i = 0; i < 5; i++ ) { + for (int i = 0; i < 10; i++ ) { countTable = 0l; for (Entry<Key,Value> entry : connPeer.createScanner(peerTable2, Authorizations.EMPTY)) { countTable++;