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

Fixes clean_old_storages_with_reclaims tests #4147

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

brooksprumo
Copy link

Problem

The two accounts-db clean_old_storages_with_reclaims tests incorrectly set up the dirty stores/uncleaned pubkeys to test out the desired clean situations. This is because uncleaned_roots is used, but this struct is not responsible for deciding which slots to load as clean candidates.

Summary of Changes

Fixes the tests to not use uncleaned_roots.

@brooksprumo brooksprumo self-assigned this Dec 16, 2024
@brooksprumo brooksprumo marked this pull request as ready for review December 16, 2024 19:12
@brooksprumo brooksprumo requested a review from HaoranYi December 16, 2024 19:13
@brooksprumo brooksprumo added the automerge automerge Merge this Pull Request automatically once CI passes label Dec 16, 2024
@mergify mergify bot merged commit 4eabeed into anza-xyz:master Dec 16, 2024
41 checks passed
@brooksprumo brooksprumo deleted the clean-old-storages branch December 16, 2024 21:42
@brooksprumo brooksprumo added the v2.1 Backport to v2.1 branch label Dec 18, 2024
Copy link

mergify bot commented Dec 18, 2024

Backports to the beta branch are to be avoided unless absolutely necessary for fixing bugs, security issues, and perf regressions. Changes intended for backport should be structured such that a minimum effective diff can be committed separately from any refactoring, plumbing, cleanup, etc that are not strictly necessary to achieve the goal. Any of the latter should go only into master and ride the normal stabilization schedule. Exceptions include CI/metrics changes, CLI improvements and documentation updates on a case by case basis.

mergify bot pushed a commit that referenced this pull request Dec 18, 2024
(cherry picked from commit 4eabeed)

# Conflicts:
#	accounts-db/src/accounts_db/tests.rs
@brooksprumo brooksprumo added the v2.0 Backport to v2.0 branch label Dec 18, 2024
Copy link

mergify bot commented Dec 18, 2024

Backports to the stable branch are to be avoided unless absolutely necessary for fixing bugs, security issues, and perf regressions. Changes intended for backport should be structured such that a minimum effective diff can be committed separately from any refactoring, plumbing, cleanup, etc that are not strictly necessary to achieve the goal. Any of the latter should go only into master and ride the normal stabilization schedule.

mergify bot pushed a commit that referenced this pull request Dec 18, 2024
(cherry picked from commit 4eabeed)

# Conflicts:
#	accounts-db/src/accounts_db/tests.rs
brooksprumo added a commit that referenced this pull request Dec 18, 2024
#4165)

* Fixes clean_old_storages_with_reclaims tests (#4147)

(cherry picked from commit 4eabeed)

# Conflicts:
#	accounts-db/src/accounts_db/tests.rs

* fix merge conflicts

---------

Co-authored-by: Brooks <[email protected]>
brooksprumo added a commit that referenced this pull request Dec 18, 2024
#4166)

* Fixes clean_old_storages_with_reclaims tests (#4147)

(cherry picked from commit 4eabeed)

# Conflicts:
#	accounts-db/src/accounts_db/tests.rs

* fix merge conflicts

---------

Co-authored-by: Brooks <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge automerge Merge this Pull Request automatically once CI passes v2.0 Backport to v2.0 branch v2.1 Backport to v2.1 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants