ACCUMULO-2569 allow for iterator settings to propogate everywhere before testing
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/90377b6b Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/90377b6b Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/90377b6b Branch: refs/heads/master Commit: 90377b6b8937097d98dc93ba1fdcce465150ff75 Parents: fac91d3 Author: Eric C. Newton <eric.new...@gmail.com> Authored: Fri Apr 25 11:26:43 2014 -0400 Committer: Eric C. Newton <eric.new...@gmail.com> Committed: Fri Apr 25 11:29:13 2014 -0400 ---------------------------------------------------------------------- .../test/java/org/apache/accumulo/test/functional/ExamplesIT.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/90377b6b/test/src/test/java/org/apache/accumulo/test/functional/ExamplesIT.java ---------------------------------------------------------------------- diff --git a/test/src/test/java/org/apache/accumulo/test/functional/ExamplesIT.java b/test/src/test/java/org/apache/accumulo/test/functional/ExamplesIT.java index 856f663..b400fcb 100644 --- a/test/src/test/java/org/apache/accumulo/test/functional/ExamplesIT.java +++ b/test/src/test/java/org/apache/accumulo/test/functional/ExamplesIT.java @@ -197,12 +197,13 @@ public class ExamplesIT extends AbstractMacIT { assertTrue(result.contains("accumulo-site.xml")); } - @Test(timeout = 5 * 1000) + @Test(timeout = 6 * 1000) public void testAgeoffFilter() throws Exception { c.tableOperations().create("filtertest"); is = new IteratorSetting(10, AgeOffFilter.class); AgeOffFilter.setTTL(is, 1000L); c.tableOperations().attachIterator("filtertest", is); + UtilWaitThread.sleep(500); // let zookeeper updates propagate. bw = c.createBatchWriter("filtertest", bwc); Mutation m = new Mutation("foo"); m.put("a", "b", "c");