accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [2/3] git commit: ACCUMULO-3292 Workaround which should make the test more stable.
Date Wed, 05 Nov 2014 03:56:23 GMT
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/master
Commit: b9d4c365b96558f1e46e9ef883e183b4ccba2884
Parents: 39d3c78
Author: Josh Elser <elserj@apache.org>
Authored: Tue Nov 4 22:55:23 2014 -0500
Committer: Josh Elser <elserj@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);


Mime
View raw message