accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ktur...@apache.org
Subject svn commit: r1460007 - /accumulo/branches/1.5/test/src/test/java/org/apache/accumulo/test/ShellServerTest.java
Date Fri, 22 Mar 2013 21:36:09 GMT
Author: kturner
Date: Fri Mar 22 21:36:09 2013
New Revision: 1460007

URL: http://svn.apache.org/r1460007
Log:
ACCUMULO-581 use absolute paths in shell test 

Modified:
    accumulo/branches/1.5/test/src/test/java/org/apache/accumulo/test/ShellServerTest.java

Modified: accumulo/branches/1.5/test/src/test/java/org/apache/accumulo/test/ShellServerTest.java
URL: http://svn.apache.org/viewvc/accumulo/branches/1.5/test/src/test/java/org/apache/accumulo/test/ShellServerTest.java?rev=1460007&r1=1460006&r2=1460007&view=diff
==============================================================================
--- accumulo/branches/1.5/test/src/test/java/org/apache/accumulo/test/ShellServerTest.java
(original)
+++ accumulo/branches/1.5/test/src/test/java/org/apache/accumulo/test/ShellServerTest.java
Fri Mar 22 21:36:09 2013
@@ -144,10 +144,10 @@ public class ShellServerTest {
     exec("addsplits row5", true);
     exec("config -t t -s table.split.threshold=345M", true);
     exec("offline t", true);
-    String export = folder.newFolder().getName();
+    String export = folder.newFolder().toString();
     exec("exporttable -t t " + export, true);
     DistCp cp = new DistCp(new Configuration());
-    String import_ = folder.newFolder().getName();
+    String import_ = folder.newFolder().toString();
     cp.run(new String[] {"-f", export + "/distcp.txt", import_});
     exec("importtable t2 " + import_, true);
     exec("config -t t2 -np", true, "345M", true);



Mime
View raw message