Revert "ACCUMULO-3292 Workaround which should make the test more stable."
This reverts commit b9d4c365b96558f1e46e9ef883e183b4ccba2884. Unnecessary change as there actually was a bug in the coded which waits for the offline (or online) to return that the system correctly moved to the new state. Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/b7b55eb6 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/b7b55eb6 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/b7b55eb6 Branch: refs/heads/master Commit: b7b55eb640b364374a04904ecd1e38d965ee0f58 Parents: 1f674b4 Author: Josh Elser <els...@apache.org> Authored: Wed Nov 5 13:39:55 2014 -0500 Committer: Josh Elser <els...@apache.org> Committed: Wed Nov 5 15:27:21 2014 -0500 ---------------------------------------------------------------------- .../test/java/org/apache/accumulo/test/ConditionalWriterIT.java | 4 ---- 1 file changed, 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/b7b55eb6/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 0b361a4..516cd46 100644 --- a/test/src/test/java/org/apache/accumulo/test/ConditionalWriterIT.java +++ b/test/src/test/java/org/apache/accumulo/test/ConditionalWriterIT.java @@ -1150,10 +1150,6 @@ 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);