| 1780 | class TestS3FSGeneric : public S3TestMixin, public GenericFileSystemTest { |
| 1781 | public: |
| 1782 | void SetUp() override { |
| 1783 | S3TestMixin::SetUp(); |
| 1784 | if (IsSkipped()) return; |
| 1785 | // Set up test bucket |
| 1786 | { |
| 1787 | Aws::S3::Model::CreateBucketRequest req; |
| 1788 | req.SetBucket(ToAwsString("s3fs-test-bucket")); |
| 1789 | ASSERT_OK(OutcomeToStatus("CreateBucket", client_->CreateBucket(req))); |
| 1790 | } |
| 1791 | |
| 1792 | options_.ConfigureAccessKey(minio_->access_key(), minio_->secret_key()); |
| 1793 | options_.scheme = minio_->scheme(); |
| 1794 | options_.endpoint_override = minio_->connect_string(); |
| 1795 | options_.retry_strategy = std::make_shared<ShortRetryStrategy>(); |
| 1796 | ASSERT_OK_AND_ASSIGN(s3fs_, S3FileSystem::Make(options_)); |
| 1797 | fs_ = std::make_shared<SubTreeFileSystem>("s3fs-test-bucket", s3fs_); |
| 1798 | } |
| 1799 | |
| 1800 | void TearDown() override { |
| 1801 | // Aws::S3::S3Client destruction relies on AWS SDK, so it must be |
nothing calls this directly
no test coverage detected