incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [1/2] git commit: Working on BLUR-232
Date Thu, 19 Sep 2013 00:34:22 GMT
Updated Branches:
  refs/heads/master 453a0dd61 -> ad1cdba6a


Working on BLUR-232


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/8e05c838
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/8e05c838
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/8e05c838

Branch: refs/heads/master
Commit: 8e05c838f9eb93f119d5b3325f91e0d3f65b203d
Parents: a30a1da
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Wed Sep 18 20:30:07 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Wed Sep 18 20:30:07 2013 -0400

----------------------------------------------------------------------
 .../org/apache/blur/manager/writer/TransactionRecorderTest.java  | 3 ++-
 .../src/test/java/org/apache/blur/thrift/BlurClusterTest.java    | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/8e05c838/blur-core/src/test/java/org/apache/blur/manager/writer/TransactionRecorderTest.java
----------------------------------------------------------------------
diff --git a/blur-core/src/test/java/org/apache/blur/manager/writer/TransactionRecorderTest.java
b/blur-core/src/test/java/org/apache/blur/manager/writer/TransactionRecorderTest.java
index c7ad83d..601ee06 100644
--- a/blur-core/src/test/java/org/apache/blur/manager/writer/TransactionRecorderTest.java
+++ b/blur-core/src/test/java/org/apache/blur/manager/writer/TransactionRecorderTest.java
@@ -22,6 +22,7 @@ import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.fail;
 
 import java.io.Closeable;
+import java.io.File;
 import java.io.IOException;
 import java.net.URI;
 import java.util.Arrays;
@@ -60,7 +61,7 @@ public class TransactionRecorderTest {
 
   @BeforeClass
   public static void setup() {
-    MiniCluster.startDfs("target/transaction-recorder-test");
+    MiniCluster.startDfs(new File("target", "transaction-recorder-test").toURI().toString());
   }
 
   @AfterClass

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/8e05c838/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 d0743ad..8bc99ed 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
@@ -74,7 +74,7 @@ public class BlurClusterTest {
   public static void startCluster() throws IOException {
     GCWatcher.init(0.80);
     LocalFileSystem localFS = FileSystem.getLocal(new Configuration());
-    File testDirectory = new File(TMPDIR, "blur-cluster-test");
+    File testDirectory = new File(TMPDIR, "blur-cluster-test").getAbsoluteFile();
     testDirectory.mkdirs();
 
     Path directory = new Path(testDirectory.getPath());
@@ -91,7 +91,7 @@ public class BlurClusterTest {
     System.setProperty("dfs.datanode.data.dir.perm", dirPermissionNum);
     testDirectory.delete();
 
-    MiniCluster.startBlurCluster("target/cluster", 2, 3);
+    MiniCluster.startBlurCluster(new File(testDirectory, "cluster").toURI().toString(), 2,
3);
   }
 
   @AfterClass


Mime
View raw message