incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [23/27] git commit: Trying to make this test more stable.
Date Mon, 29 Jul 2013 12:57:54 GMT
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/0.2.0-newtypesystem
Commit: ac71c94bf5f4174ddcd1e368712adddec27634ed
Parents: 78e0db9
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Sun Jul 28 15:05:08 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
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();


Mime
View raw message