Skip to content

Commit

Permalink
apacheGH-40410: [C++][CI] Try disabling hanging S3 test on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
pitrou committed Sep 24, 2024
1 parent 508eb2f commit e50d1b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ci/scripts/cpp_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ case "$(uname)" in
;;
Darwin)
n_jobs=$(sysctl -n hw.ncpu)
# TODO: https://github.com/apache/arrow/issues/40410
exclude_tests="arrow-s3fs-test"
ctest_options+=(--exclude-regex "${exclude_tests}")
;;
MINGW*)
n_jobs=${NUMBER_OF_PROCESSORS:-1}
Expand Down
4 changes: 4 additions & 0 deletions cpp/src/arrow/filesystem/s3fs_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,10 @@ TEST_F(S3RegionResolutionTest, RestrictedBucket) {
}

TEST_F(S3RegionResolutionTest, NonExistentBucket) {
#if defined(__APPLE__)
// See investigation in GH-40410
GTEST_SKIP() << "This test can hang on macOS CI";
#endif
auto maybe_region = ResolveS3BucketRegion("ursa-labs-nonexistent-bucket");
ASSERT_RAISES(IOError, maybe_region);
ASSERT_THAT(maybe_region.status().message(),
Expand Down

0 comments on commit e50d1b8

Please sign in to comment.