From ed80ed1a16c3bd9be406eff69aa76d32bc8996f6 Mon Sep 17 00:00:00 2001 From: Oleg Kulachenko Date: Wed, 19 Jul 2023 19:21:40 +0400 Subject: [PATCH] Disable aws ec2 metadata Fixed bug nspcc-dev/neofs-s3-gw#798 This is a test environment error, not neofs-s3-gw: actions/runner-images#2791 aws/aws-cli#5623 Signed-off-by: Oleg Kulachenko --- pytest_tests/helpers/aws_cli_client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pytest_tests/helpers/aws_cli_client.py b/pytest_tests/helpers/aws_cli_client.py index 213a383ce..ab3d4f15b 100644 --- a/pytest_tests/helpers/aws_cli_client.py +++ b/pytest_tests/helpers/aws_cli_client.py @@ -21,6 +21,7 @@ class AwsCliClient: def __init__(self, s3gate_endpoint) -> None: self.s3gate_endpoint = s3gate_endpoint + os.environ['AWS_EC2_METADATA_DISABLED'] = 'true' def create_bucket( self,