kou commented on code in PR #39840:
URL: https://github.com/apache/arrow/pull/39840#discussion_r1476856542
##########
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:
See also:
*
https://arrow.apache.org/docs/developers/cpp/development.html#running-unit-tests
and related documents
*
https://arrow.apache.org/docs/developers/continuous_integration/docker.html to
run `UBUNTU=22.04 archery docker run ubuntu-cpp-sanitizer` that is used for the
"AMD64 Ubuntu 22.04 C++ ASAN UBSAN" CI job
--
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]