]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
hadoop: fix unit test: testWorkingDirectory
authorNoah Watkins <noahwatkins@gmail.com>
Wed, 2 Nov 2011 20:43:37 +0000 (13:43 -0700)
committerNoah Watkins <noahwatkins@gmail.com>
Thu, 3 Nov 2011 02:51:50 +0000 (19:51 -0700)
The working directory should be set in initialize() and
is expected by the unit tests to be fully qualified (i.e.
with ceph://...).

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
src/client/hadoop/ceph/TestCeph.java

index a63fc6265b12d8053832e37cb406e5518ad55ac0..de20ef0803911c3315c3ca91069c70e071af3397 100644 (file)
@@ -41,6 +41,5 @@ public class TestCeph extends FileSystemContractBaseTest {
 
     cephfs.initialize(URI.create("ceph://null"), conf);
     fs = cephfs;
-    cephfs.setWorkingDirectory(new Path(getDefaultWorkingDirectory()));
   }
 }