@@ -139,27 +139,6 @@ public void deleteFolder() throws IOException {
139139 assertThrows (NotFoundException .class , () -> storageControl .getFolder (folderName ));
140140 }
141141
142- @ Test
143- public void deleteFolderRecursive ()
144- throws IOException , ExecutionException , InterruptedException , TimeoutException {
145- String parentFolderName = UUID .randomUUID ().toString ();
146- FolderName parentFolder = FolderName .of ("_" , bucket .getName (), parentFolderName );
147- storageControl .createFolder (
148- BucketName .of ("_" , bucket .getName ()),
149- Folder .getDefaultInstance (),
150- parentFolder .getFolder ());
151-
152- String childFolderName = parentFolderName + "/" + UUID .randomUUID ().toString ();
153- FolderName childFolder = FolderName .of ("_" , bucket .getName (), childFolderName );
154- storageControl .createFolder (
155- BucketName .of ("_" , bucket .getName ()), Folder .getDefaultInstance (), childFolder .getFolder ());
156-
157- DeleteFolderRecursive .deleteFolderRecursive (bucket .getName (), parentFolder .getFolder ());
158- assertThat (stdOut .getCapturedOutputAsUtf8String ()).contains (parentFolder .toString ());
159- assertThrows (NotFoundException .class , () -> storageControl .getFolder (parentFolder ));
160- assertThrows (NotFoundException .class , () -> storageControl .getFolder (childFolder ));
161- }
162-
163142 @ Test
164143 public void listFolder () throws IOException {
165144 FolderName folderName = FolderName .of ("_" , bucket .getName (), UUID .randomUUID ().toString ());
0 commit comments