Repository: accumulo
Updated Branches:
  refs/heads/1.6 39d3c78c6 -> b9d4c365b
  refs/heads/master 37786f3d5 -> e9d5f78a0


ACCUMULO-3292 Workaround which should make the test more stable.


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/b9d4c365
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/b9d4c365
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/b9d4c365

Branch: refs/heads/1.6
Commit: b9d4c365b96558f1e46e9ef883e183b4ccba2884
Parents: 39d3c78
Author: Josh Elser <els...@apache.org>
Authored: Tue Nov 4 22:55:23 2014 -0500
Committer: Josh Elser <els...@apache.org>
Committed: Tue Nov 4 22:55:23 2014 -0500

----------------------------------------------------------------------
 .../test/java/org/apache/accumulo/test/ConditionalWriterIT.java  | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/b9d4c365/test/src/test/java/org/apache/accumulo/test/ConditionalWriterIT.java
----------------------------------------------------------------------
diff --git 
a/test/src/test/java/org/apache/accumulo/test/ConditionalWriterIT.java 
b/test/src/test/java/org/apache/accumulo/test/ConditionalWriterIT.java
index 516cd46..0b361a4 100644
--- a/test/src/test/java/org/apache/accumulo/test/ConditionalWriterIT.java
+++ b/test/src/test/java/org/apache/accumulo/test/ConditionalWriterIT.java
@@ -1150,6 +1150,10 @@ public class ConditionalWriterIT extends SimpleMacIT {
 
     conn.tableOperations().create(table);
 
+    // Make sure the table is online, assigned and hosted
+    for (@SuppressWarnings("unused")
+    Entry<Key,Value> entry : conn.createScanner(table, Authorizations.EMPTY)) 
{}
+
     ConditionalWriter cw = conn.createConditionalWriter(table, new 
ConditionalWriterConfig());
 
     conn.tableOperations().offline(table, true);

Reply via email to