From eeae69b0ae120b5c54891d47cfce30333273e127 Mon Sep 17 00:00:00 2001 From: johnnyaug Date: Wed, 4 Oct 2023 11:51:57 +0300 Subject: [PATCH] remove test --- .../io/lakefs/LakeFSFileSystemServerTest.java | 28 ------------------- 1 file changed, 28 deletions(-) diff --git a/clients/hadoopfs/src/test/java/io/lakefs/LakeFSFileSystemServerTest.java b/clients/hadoopfs/src/test/java/io/lakefs/LakeFSFileSystemServerTest.java index cef6c41d67b..3cad7a8eaf6 100644 --- a/clients/hadoopfs/src/test/java/io/lakefs/LakeFSFileSystemServerTest.java +++ b/clients/hadoopfs/src/test/java/io/lakefs/LakeFSFileSystemServerTest.java @@ -701,34 +701,6 @@ public void testRename_existingDirToExistingNonEmptyDirName() throws IOException Assert.assertFalse(renamed); } - // /** - // * Check that a file is renamed when working against a lakeFS version - // * where CopyObject API doesn't exist - // */ - // TODO(johnnyaug): Do we still need this test? - // - // @Test - // public void testRename_fallbackStageAPI() throws ApiException, IOException { - // Path src = new Path("lakefs://repo/main/existing-dir1/existing.src"); - // ObjectLocation srcObjLoc = fs.pathToObjectLocation(src); - // mockExistingFilePath(srcObjLoc); - - // Path fileInDstDir = new Path("lakefs://repo/main/existing-dir2/existing.src"); - // ObjectLocation fileObjLoc = fs.pathToObjectLocation(fileInDstDir); - // Path dst = new Path("lakefs://repo/main/existing-dir2"); - // ObjectLocation dstObjLoc = fs.pathToObjectLocation(dst); - - // mockExistingDirPath(dstObjLoc, ImmutableList.of(fileObjLoc)); - // mockDirectoryMarker(fs.pathToObjectLocation(src.getParent())); - // mockMissingCopyAPI(); - - // boolean renamed = fs.rename(src, dst); - // Assert.assertTrue(renamed); - // Path expectedDstPath = new Path("lakefs://repo/main/existing-dir2/existing.src"); - // Assert.assertTrue(dstPathLinkedToSrcPhysicalAddress(srcObjLoc, fs.pathToObjectLocation(expectedDstPath))); - // verifyObjDeletion(srcObjLoc); - // } - @Test public void testRename_srcAndDstOnDifferentBranch() throws IOException { Path src = new Path("lakefs://repo/branch/existing.src");