We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6714254 commit 568e719Copy full SHA for 568e719
cpp/src/arrow/filesystem/azurefs_test.cc
@@ -892,9 +892,13 @@ class TestAzureFileSystem : public ::testing::Test {
892
}
893
894
void SetUp() override {
895
- auto make_options = [this]() -> Result<AzureOptions> {
896
- ARROW_ASSIGN_OR_RAISE(auto env, GetAzureEnv());
897
- EXPECT_THAT(env, NotNull());
+ auto env_result = GetAzureEnv();
+ if (!env_result.ok()) {
+ GTEST_SKIP() << "Failed to setup: " << env_result.status().ToString();
898
+ }
899
+ auto env = *env_result;
900
+ EXPECT_THAT(env, NotNull());
901
+ auto make_options = [this, &env]() -> Result<AzureOptions> {
902
ARROW_ASSIGN_OR_RAISE(debug_log_start_, env->GetDebugLogSize());
903
return MakeOptions(env);
904
};
0 commit comments