We set this environment variable to speed up tests by ensuring DefaultAWSCredentialsProviderChain does not query (inaccessible) EC2 metadata endpoint. This must be done before spawning any Minio child process to avoid any race condition accessing environment variables.
| 96 | // This must be done before spawning any Minio child process to avoid any race |
| 97 | // condition accessing environment variables. |
| 98 | S3Environment() : ec2_metadata_disabled_guard_("AWS_EC2_METADATA_DISABLED", "true") {} |
| 99 | |
| 100 | void SetUp() override { |
| 101 | // Change this to increase logging during tests |
nothing calls this directly
no outgoing calls
no test coverage detected