nobolity commented on a change in pull request #8637:
URL: https://github.com/apache/dolphinscheduler/pull/8637#discussion_r834992805



##########
File path: 
dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/java/org/apache/dolphinscheduler/e2e/cases/FileManageE2ETest.java
##########
@@ -170,22 +170,25 @@ void testCancelCreateDirectory() {
 //            .anyMatch(it -> it.contains(testSubDirectoryName)));
 //    }
 
-    @Test
-    @Order(22)
-    void testRenameDirectory() {
-        final FileManagePage page = new FileManagePage(browser);
-
-        page.rename(testDirectoryName, testRenameDirectoryName);
-
-        await().untilAsserted(() -> {
-            browser.navigate().refresh();
-
-            assertThat(page.fileList())
-                .as("File list should contain newly-created file")
-                .extracting(WebElement::getText)
-                .anyMatch(it -> it.contains(testRenameDirectoryName));
-        });
-    }
+/*
+* when the storage is s3,the directory cannot be renamed
+* */
+//    @Test
+//    @Order(22)
+//    void testRenameDirectory() {

Review comment:
       it can be fixed,but it need a few of time ,in fact ,i need to copy all 
files of the old directory to the new directory ,if the number of files is 
large, then it is easy to wrong,
   it 's better to generate the diffentenct e2eTests  depend on the storage 
types




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to