Updated Branches: refs/heads/master 78e0db99b -> 4b5f5c074
Trying to make this test more stable. Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/ac71c94b Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/ac71c94b Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/ac71c94b Branch: refs/heads/master Commit: ac71c94bf5f4174ddcd1e368712adddec27634ed Parents: 78e0db9 Author: Aaron McCurry <[email protected]> Authored: Sun Jul 28 15:05:08 2013 -0400 Committer: Aaron McCurry <[email protected]> Committed: Sun Jul 28 15:05:08 2013 -0400 ---------------------------------------------------------------------- .../src/test/java/org/apache/blur/thrift/BlurClusterTest.java | 7 +++++++ 1 file changed, 7 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/ac71c94b/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTest.java ---------------------------------------------------------------------- diff --git a/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTest.java b/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTest.java index 29fb0ba..a344b1b 100644 --- a/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTest.java +++ b/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTest.java @@ -198,7 +198,14 @@ public class BlurClusterTest { // This will make each collect in the collectors pause 250 ms per collect // call IndexManager.DEBUG_RUN_SLOW.set(true); + runBackPressureViaQuery(); + Thread.sleep(1000); + System.gc(); + System.gc(); + Thread.sleep(1000); + } + private void runBackPressureViaQuery() throws InterruptedException { final Iface client = getClient(); final BlurQuery blurQueryRow = new BlurQuery(); SimpleQuery simpleQueryRow = new SimpleQuery();
