Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Metadata Management] add s3 interface for s3 client mocking #1406

Open
wants to merge 2 commits into
base: metadata-management
Choose a base branch
from

Conversation

devanshjain7
Copy link
Contributor

What type of PR is this?

/kind enhancement

What this PR does / why we need it:
Added s3 interface to enable mocking of the aws s3 client. This will make the unit testing of aws storage driver easier and faster as it will avoid making actual API calls to the aws server.

Copy link
Contributor

@josephjacobmorris josephjacobmorris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@codecov
Copy link

codecov bot commented Feb 15, 2023

Codecov Report

Merging #1406 (1c3487c) into metadata-management (07cac9f) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@                 Coverage Diff                  @@
##           metadata-management    #1406   +/-   ##
====================================================
  Coverage                48.12%   48.12%           
====================================================
  Files                       10       10           
  Lines                     1571     1571           
====================================================
  Hits                       756      756           
  Misses                     756      756           
  Partials                    59       59           

@devanshjain7 devanshjain7 changed the title add s3 interface for s3 client mocking [Metadata Management] add s3 interface for s3 client mocking Feb 15, 2023
Copy link
Contributor

@josephjacobmorris josephjacobmorris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants