| 1657 | class TestS3FSGeneric : public S3TestMixin, public GenericFileSystemTest { |
| 1658 | public: |
| 1659 | void SetUp() override { |
| 1660 | S3TestMixin::SetUp(); |
| 1661 | // Set up test bucket |
| 1662 | { |
| 1663 | Aws::S3::Model::CreateBucketRequest req; |
| 1664 | req.SetBucket(ToAwsString("s3fs-test-bucket")); |
| 1665 | ASSERT_OK(OutcomeToStatus("CreateBucket", client_->CreateBucket(req))); |
| 1666 | } |
| 1667 | |
| 1668 | options_.ConfigureAccessKey(minio_->access_key(), minio_->secret_key()); |
| 1669 | options_.scheme = minio_->scheme(); |
| 1670 | options_.endpoint_override = minio_->connect_string(); |
| 1671 | options_.retry_strategy = std::make_shared<ShortRetryStrategy>(); |
| 1672 | ASSERT_OK_AND_ASSIGN(s3fs_, S3FileSystem::Make(options_)); |
| 1673 | fs_ = std::make_shared<SubTreeFileSystem>("s3fs-test-bucket", s3fs_); |
| 1674 | } |
| 1675 | |
| 1676 | void TearDown() override { |
| 1677 | // Aws::S3::S3Client destruction relies on AWS SDK, so it must be |
nothing calls this directly
no test coverage detected