Updated Branches: refs/heads/0.1.5 e8c05c930 -> 8f43732a4
Moved a rogue tmp dir that is created during tests under target. Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/ccc491e7 Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/ccc491e7 Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/ccc491e7 Branch: refs/heads/0.1.5 Commit: ccc491e7ca83e3eb82826e729002127739fa0000 Parents: e8c05c9 Author: Aaron McCurry <[email protected]> Authored: Tue Mar 26 20:56:45 2013 -0400 Committer: Aaron McCurry <[email protected]> Committed: Tue Mar 26 20:56:45 2013 -0400 ---------------------------------------------------------------------- .../org/apache/blur/thrift/BlurClusterTest.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/ccc491e7/src/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTest.java ---------------------------------------------------------------------- diff --git a/src/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTest.java b/src/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTest.java index c6a31bc..9146a80 100644 --- a/src/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTest.java +++ b/src/blur-core/src/test/java/org/apache/blur/thrift/BlurClusterTest.java @@ -72,7 +72,7 @@ public class BlurClusterTest { System.setProperty("dfs.datanode.data.dir.perm", dirPermissionNum); testDirectory.delete(); - MiniCluster.startBlurCluster("cluster", 2, 3); + MiniCluster.startBlurCluster("target/cluster", 2, 3); } @AfterClass @@ -108,7 +108,10 @@ public class BlurClusterTest { rowMutation.setWaitToBeVisible(true); mutations.add(rowMutation); } + long s = System.nanoTime(); client.mutateBatch(mutations); + long e = System.nanoTime(); + System.out.println("mutateBatch took [" + (e - s) / 1000000.0 + "]"); BlurQuery blurQuery = new BlurQuery(); SimpleQuery simpleQuery = new SimpleQuery(); simpleQuery.setQueryStr("test.test:value");
