From ef94a9d17ff2eb082b133dcff9b36c9d0c9ccbf7 Mon Sep 17 00:00:00 2001 From: gaoyangxiaozhu Date: Tue, 23 Apr 2024 14:46:09 +0800 Subject: [PATCH] fix ci build failure issue --- .../hive/storage_adapters/abfs/tests/AbfsFileSystemTest.cpp | 2 +- .../storage_adapters/abfs/tests/MockBlobStorageFileClient.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/velox/connectors/hive/storage_adapters/abfs/tests/AbfsFileSystemTest.cpp b/velox/connectors/hive/storage_adapters/abfs/tests/AbfsFileSystemTest.cpp index da3bd28176a0..66ababa2ea3e 100644 --- a/velox/connectors/hive/storage_adapters/abfs/tests/AbfsFileSystemTest.cpp +++ b/velox/connectors/hive/storage_adapters/abfs/tests/AbfsFileSystemTest.cpp @@ -66,7 +66,7 @@ class AbfsFileSystemTest : public testing::Test { azuriteServer = std::make_shared(port); azuriteServer->start(); auto tempFile = createFile(); - azuriteServer->addFile(tempFile->path, filePath); + azuriteServer->addFile(tempFile->getPath(), filePath); } void TearDown() override { diff --git a/velox/connectors/hive/storage_adapters/abfs/tests/MockBlobStorageFileClient.h b/velox/connectors/hive/storage_adapters/abfs/tests/MockBlobStorageFileClient.h index 046cb094c1b1..1ef79b31c8b7 100644 --- a/velox/connectors/hive/storage_adapters/abfs/tests/MockBlobStorageFileClient.h +++ b/velox/connectors/hive/storage_adapters/abfs/tests/MockBlobStorageFileClient.h @@ -27,7 +27,7 @@ class MockBlobStorageFileClient : public IBlobStorageFileClient { public: MockBlobStorageFileClient() { auto tempFile = ::exec::test::TempFilePath::create(); - filePath_ = tempFile->path; + filePath_ = tempFile->getPath(); } void create() override;