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

Migrating to AWS SDK V3 | Use AWS SDK V3 In Unit Tests (upgrade_script, dedup, lifecycle) #7457

Merged

Conversation

shirady
Copy link
Contributor

@shirady shirady commented Aug 23, 2023

Explain the changes

Implementation of AWS SDK V3 (without wrapper) in unit tests:

  1. upgrade_script
  2. dedup
  3. lifecycle:
  • pass Date as Date (not string)
  • remove test of Filter {} (empty Filter) since it is not allowed (Filter must have exactly one of Prefix, Tag, or And specified)

Issues: Fixed #xxx / Gap #xxx

  1. none

Testing Instructions:

  1. make test (upgrade_script and lifecycle run as a part of the CI).
  • Doc added/updated
  • Tests added

@shirady shirady force-pushed the migrate-aws-sdk-imp-unit-tests-part-1 branch 3 times, most recently from cbde633 to 9deffcd Compare August 23, 2023 14:59
@shirady
Copy link
Contributor Author

shirady commented Aug 23, 2023

dedup is not part of the CI.
I tested it locally and it passed:

✔ Should create one chunk (243ms)

@shirady shirady self-assigned this Aug 24, 2023
Copy link
Contributor

@nadavMiz nadavMiz left a comment

Choose a reason for hiding this comment

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

LGTM

@shirady shirady force-pushed the migrate-aws-sdk-imp-unit-tests-part-1 branch from 9deffcd to dfc3f46 Compare August 28, 2023 11:53
@shirady shirady force-pushed the migrate-aws-sdk-imp-unit-tests-part-1 branch from dfc3f46 to 6eb942c Compare September 3, 2023 11:49
1. upgrade_scripts
2. dedup
3. lifecycle:
	- pass Date as Date (not string)
	- remove test of Filter {} since it is not allowed (Filter must have exactly one of Prefix, Tag, or And specified)
          * remove call to commonTests.test_empty_filter (that was deleted)

Signed-off-by: shirady <57721533+shirady@users.noreply.github.com>
@shirady shirady force-pushed the migrate-aws-sdk-imp-unit-tests-part-1 branch from 6eb942c to f7032c5 Compare September 3, 2023 12:37
@shirady shirady merged commit 2745487 into noobaa:master Sep 3, 2023
8 checks passed
@shirady shirady deleted the migrate-aws-sdk-imp-unit-tests-part-1 branch September 3, 2023 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants