av8or1 commented on code in PR #39840:
URL: https://github.com/apache/arrow/pull/39840#discussion_r1478287543
##########
cpp/src/arrow/filesystem/azurefs_test.cc:
##########
@@ -1382,6 +1382,32 @@ TEST_F(TestAzuriteFileSystem,
DeleteDirContentsFailureNonexistent) {
this->TestDeleteDirContentsFailureNonexistent();
}
+TEST_F(TestAzuriteFileSystem, DeleteFileSuccess) {
+ CreateFile(fs(), "abc", "data");
+ arrow::fs::AssertFileInfo(fs(), "abc", FileType::File);
+ ASSERT_OK(fs()->DeleteFile("abc"));
+ arrow::fs::AssertFileInfo(fs(), "abc", FileType::NotFound);
Review Comment:
OK I can take a closer look. One question though: since we've created this
delete-directory test, is an attempt to delete a container necessary?
--
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]