MCPcopy Create free account
hub / github.com/apache/arrow / TEST_F

Function TEST_F

cpp/src/arrow/filesystem/azurefs_test.cc:2514–2521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2512// Tests using Azurite (the local Azure emulator)
2513
2514TEST_F(TestAzuriteFileSystem, CheckIfHierarchicalNamespaceIsEnabledRuntimeError) {
2515 ASSERT_OK(options_.ConfigureAccountKeyCredential("not-base64"));
2516 ASSERT_OK_AND_ASSIGN(auto datalake_service_client,
2517 options_.MakeDataLakeServiceClient());
2518 auto adlfs_client = datalake_service_client->GetFileSystemClient("nonexistent");
2519 ASSERT_RAISES(UnknownError,
2520 internal::CheckIfHierarchicalNamespaceIsEnabled(adlfs_client, options_));
2521}
2522
2523TEST_F(TestAzuriteFileSystem, CheckIfHierarchicalNamespaceIsEnabledTransportError) {
2524 options_.dfs_storage_authority = "127.0.0.1:20000"; // Wrong port

Callers 1

TestFromUriAbfsMethod · 0.70

Calls 15

fsFunction · 0.85
SortedInfosFunction · 0.85
AssertFileInfoFunction · 0.85
ConcatAbstractPathFunction · 0.85
to_stringFunction · 0.85
EnsureTrailingSlashFunction · 0.85
key_value_metadataFunction · 0.85

Tested by

no test coverage detected