| 372 | |
| 373 | protected: |
| 374 | void SetUpInternal(BaseAzureEnv* env) { |
| 375 | env_ = env; |
| 376 | random::pcg32_fast rng((std::random_device()())); |
| 377 | container_name_ = PreexistingData::RandomContainerName(rng); |
| 378 | ASSERT_OK_AND_ASSIGN(auto options, MakeOptions(env_)); |
| 379 | ASSERT_OK_AND_ASSIGN(azure_fs_, AzureFileSystem::Make(options)); |
| 380 | ASSERT_OK(azure_fs_->CreateDir(container_name_, true)); |
| 381 | fs_ = std::make_shared<SubTreeFileSystem>(container_name_, azure_fs_); |
| 382 | } |
| 383 | |
| 384 | std::shared_ptr<FileSystem> GetEmptyFileSystem() override { return fs_; } |
| 385 |
nothing calls this directly
no test coverage detected