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

Clean backups after each test and fix exclude label test issue #5210

Merged
merged 1 commit into from
Aug 19, 2022

Conversation

danfengliu
Copy link
Contributor

@danfengliu danfengliu commented Aug 15, 2022

  1. Clean backups after each test to avoid exceeding limitation of storage capability during E2E test;
  2. Fix exlude label issue that namespace should not be included and excluded at the same time no matter by which way to config.

Thank you for contributing to Velero!

Please add a summary of your change

Does your change fix a particular issue?

Fixes #5194 #5229

Please indicate you've done the following:

  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Created a changelog file or added /kind changelog-not-required as a comment on this pull request.
  • Updated the corresponding documentation in site/content/docs/main.

@github-actions github-actions bot requested review from Lyndon-Li and sseago August 15, 2022 07:50
@danfengliu danfengliu force-pushed the clean-backups-after-each-test branch 12 times, most recently from 6744114 to 5c14586 Compare August 18, 2022 03:19
@danfengliu danfengliu added the kind/changelog-not-required PR does not require a user changelog. Often for docs, website, or build changes label Aug 18, 2022
@danfengliu danfengliu force-pushed the clean-backups-after-each-test branch from 5c14586 to 5878589 Compare August 18, 2022 03:20
@danfengliu danfengliu changed the title Clean backups after each test Clean backups after each test and fix exclude label test issue Aug 18, 2022
@danfengliu danfengliu force-pushed the clean-backups-after-each-test branch 2 times, most recently from ac57ec2 to cb3f32e Compare August 18, 2022 03:33
@codecov-commenter
Copy link

codecov-commenter commented Aug 18, 2022

Codecov Report

Merging #5210 (cb3f32e) into main (4e25f59) will not change coverage.
The diff coverage is n/a.

❗ Current head cb3f32e differs from pull request most recent head 413d9ab. Consider uploading reports for the commit 413d9ab to get more accurate results

@@           Coverage Diff           @@
##             main    #5210   +/-   ##
=======================================
  Coverage   41.72%   41.72%           
=======================================
  Files         216      216           
  Lines       18791    18791           
=======================================
  Hits         7841     7841           
  Misses      10367    10367           
  Partials      583      583           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@danfengliu danfengliu force-pushed the clean-backups-after-each-test branch 2 times, most recently from 413d9ab to c2d14ff Compare August 18, 2022 04:02
blackpiglet
blackpiglet previously approved these changes Aug 18, 2022
Copy link
Collaborator

@sseago sseago left a comment

Choose a reason for hiding this comment

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

One codespell failure from this PR, also rebase PR to pull in the merged fix from earlier today which will resolve the other codespell failures.

test/e2e/resource-filtering/exclude_label.go Outdated Show resolved Hide resolved
1. Clean backups after each test to avoid exceeding limitation of storage capability during E2E test;
2. Fix exlude label test issue that namespace should not be included and excluded at the same time no matter by which way to config.

Signed-off-by: danfengl <[email protected]>
@danfengliu danfengliu force-pushed the clean-backups-after-each-test branch from 66227db to 6e80612 Compare August 19, 2022 01:24
@sseago sseago merged commit b6cca3f into vmware-tanzu:main Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has-e2e-tests kind/changelog-not-required PR does not require a user changelog. Often for docs, website, or build changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add clear backups step after each E2E test to avoid exceeding capacity of BSL storage space
5 participants