Skip to content

Bulk delete namespaces in reconfiguration nfr test #3402

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bjee19
Copy link
Contributor

@bjee19 bjee19 commented May 23, 2025

Add bulk delete namespaces function to use in reconfiguration nfr test to improve performance.

Problem: The reconfiguration nfr test takes a very long time to run because we are deleting namespaces individually, we could save a lot of time by bulk deleting them.

Solution: Add a function which deletes multiple namespaces at a single time.

Testing: Ran the nfr test and confirms it still works.

Closes #2376

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto main
  • I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

Release notes

If this PR introduces a change that affects users and needs to be mentioned in the release notes,
please add a brief note that summarizes the change.


@bjee19 bjee19 requested a review from a team as a code owner May 23, 2025 22:07
@github-actions github-actions bot added the tests Pull requests that update tests label May 23, 2025
Copy link

codecov bot commented May 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.74%. Comparing base (daa2e56) to head (77cc3da).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3402      +/-   ##
==========================================
- Coverage   86.75%   86.74%   -0.01%     
==========================================
  Files         129      129              
  Lines       14928    14928              
  Branches       62       62              
==========================================
- Hits        12951    12950       -1     
- Misses       1826     1827       +1     
  Partials      151      151              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Pull requests that update tests
Projects
Status: 🆕 New
Development

Successfully merging this pull request may close these issues.

Refactor reconfiguration performance test to bulk delete namespaces
1 participant