Skip to content

Commit

Permalink
Disable aws ec2 metadata
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
vvarg229 committed Jul 19, 2023
1 parent 79bf071 commit ed80ed1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pytest_tests/helpers/aws_cli_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ed80ed1

Please sign in to comment.