accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [43/51] [abbrv] git commit: ACCUMULO-378 Test stabilization
Date Sat, 14 Jun 2014 04:55:43 GMT
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/master
Commit: 5365b550120224920deebb08e15dca879de95885
Parents: 97044d7
Author: Josh Elser <elserj@apache.org>
Authored: Fri Jun 6 11:32:38 2014 -0400
Committer: Josh Elser <elserj@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<>();


Mime
View raw message