You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GH-40410: [C++] Skip only s3fs-tests and s3fs-module-tests that require MinIO if MinIO is not available (#50215)
### Rationale for this change
There are lots of S3 tests that doesn't require MinIO which we are not being exercised on CI because we skip the full test suite. We should skip only the tests that use MinIO if MinIO is not found but not the ones that doesn't require MinIO.
### What changes are included in this PR?
- Remove all occurrences of `exclude_tests="arrow-s3fs-test"`
- Add MinIO to path for macOS cpp.yml builds so MinIO tests are exercised
- Add new `MinioTestEnvironment::IsAvailable` to validate whether MinIO is available or not as part of the test suite
- `GTEST_SKIP` tests that require MinIO
### Are these changes tested?
Yes via CI and existing tests.
I've validated this locally both ways: without MinIO the non-MinIO tests run and the MinIO dependant ones are skipped, with MinIO on PATH the full suite runs and passes
### Are there any user-facing changes?
No
* GitHub Issue: #40410
Authored-by: Raúl Cumplido <raulcumplido@gmail.com>
Signed-off-by: Antoine Pitrou <antoine@python.org>
0 commit comments