| 720 | } |
| 721 | |
| 722 | Result<std::shared_ptr<S3FileSystem>> MakeNewFileSystem( |
| 723 | io::IOContext io_context = io::default_io_context()) { |
| 724 | options_.ConfigureAccessKey(minio_->access_key(), minio_->secret_key()); |
| 725 | options_.scheme = minio_->scheme(); |
| 726 | options_.endpoint_override = minio_->connect_string(); |
| 727 | if (!options_.retry_strategy) { |
| 728 | options_.retry_strategy = std::make_shared<ShortRetryStrategy>(); |
| 729 | } |
| 730 | return S3FileSystem::Make(options_, io_context); |
| 731 | } |
| 732 | |
| 733 | void MakeFileSystem() { ASSERT_OK_AND_ASSIGN(fs_, MakeNewFileSystem()); } |
| 734 |
no test coverage detected