Moving some tmp out form test into the target folder.
Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/d07d90e5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/d07d90e5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/d07d90e5 Branch: refs/heads/master Commit: d07d90e585d40a47498f3a41546b49c7bcb7b38e Parents: 091f507 Author: Aaron McCurry <[email protected]> Authored: Thu Jun 6 16:41:57 2013 -0400 Committer: Aaron McCurry <[email protected]> Committed: Thu Jun 6 16:41:57 2013 -0400 ---------------------------------------------------------------------- .../blur/manager/clusterstatus/ZookeeperClusterStatusTest.java | 4 ++-- .../src/test/java/org/apache/blur/thrift/BlurClusterTest.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d07d90e5/blur-core/src/test/java/org/apache/blur/manager/clusterstatus/ZookeeperClusterStatusTest.java ---------------------------------------------------------------------- diff --git a/blur-core/src/test/java/org/apache/blur/manager/clusterstatus/ZookeeperClusterStatusTest.java b/blur-core/src/test/java/org/apache/blur/manager/clusterstatus/ZookeeperClusterStatusTest.java index 0416134..cc2ba98 100644 --- a/blur-core/src/test/java/org/apache/blur/manager/clusterstatus/ZookeeperClusterStatusTest.java +++ b/blur-core/src/test/java/org/apache/blur/manager/clusterstatus/ZookeeperClusterStatusTest.java @@ -69,7 +69,7 @@ public class ZookeeperClusterStatusTest { @BeforeClass public static void setupOnce() throws InterruptedException, IOException, KeeperException { - MiniCluster.startZooKeeper("./tmp/zk_test"); + MiniCluster.startZooKeeper("./target/zk_test"); } @AfterClass @@ -199,7 +199,7 @@ public class ZookeeperClusterStatusTest { TableDescriptor tableDescriptor = new TableDescriptor(); tableDescriptor.setName(name); tableDescriptor.setAnalyzerDefinition(new AnalyzerDefinition()); - tableDescriptor.setTableUri("./tmp/zk_test_hdfs"); + tableDescriptor.setTableUri("./target/tmp/zk_test_hdfs"); tableDescriptor.setIsEnabled(enabled); clusterStatus.createTable(tableDescriptor); if (enabled) { http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d07d90e5/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 38475a8..1f51b0b 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 @@ -56,7 +56,7 @@ import org.junit.Test; public class BlurClusterTest { - private static final File TMPDIR = new File(System.getProperty("blur.tmp.dir", "/tmp")); + private static final File TMPDIR = new File(System.getProperty("blur.tmp.dir", "./target/tmp_BlurClusterTest")); @BeforeClass public static void startCluster() throws IOException {
