ACCUMULO-378 Test stabilization
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/5365b550 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/5365b550 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/5365b550 Branch: refs/heads/ACCUMULO-378 Commit: 5365b550120224920deebb08e15dca879de95885 Parents: 97044d7 Author: Josh Elser <els...@apache.org> Authored: Fri Jun 6 11:32:38 2014 -0400 Committer: Josh Elser <els...@apache.org> Committed: Fri Jun 6 11:32:38 2014 -0400 ---------------------------------------------------------------------- .../org/apache/accumulo/test/replication/ReplicationTest.java | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/5365b550/test/src/test/java/org/apache/accumulo/test/replication/ReplicationTest.java ---------------------------------------------------------------------- diff --git a/test/src/test/java/org/apache/accumulo/test/replication/ReplicationTest.java b/test/src/test/java/org/apache/accumulo/test/replication/ReplicationTest.java index 7ea4c84..422130c 100644 --- a/test/src/test/java/org/apache/accumulo/test/replication/ReplicationTest.java +++ b/test/src/test/java/org/apache/accumulo/test/replication/ReplicationTest.java @@ -461,6 +461,10 @@ public class ReplicationTest extends ConfigurableMacIT { keepRunning.set(false); t.join(5000); + // The master is only running every second to create records in the replication table from the metadata table + // Sleep a sufficient amount of time to ensure that we get the straggling WALs that might have been created at the end + Thread.sleep(5000); + Scanner s = ReplicationTable.getScanner(conn); StatusSection.limit(s); Set<String> replFiles = new HashSet<>();