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

Cache reloading tests #3373

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

Cache reloading tests #3373

wants to merge 1 commit into from

Conversation

aatkin
Copy link
Collaborator

@aatkin aatkin commented Jan 28, 2025

Follow-up on #3371 , this PR adds similar cache reload tests for the other db caches.

Add rudimentary cache reload tests which verify that basic db entity caches initialize correctly from database:

  • rems.db.attachments
  • rems.db.blacklist
  • rems.db.catalogue
  • rems.db.form
  • rems.db.licenses
  • rems.db.organizations
  • rems.db.resource
  • rems.db.roles
  • rems.db.user-mappings
  • rems.db.user-settings (pre-existing)
  • rems.db.users
  • rems.db.workflow

Checklist for author

Remove items that aren't applicable, check items that are done.

Reviewability

  • Link to issue (rather, previous PR which needed to be released)

Testing

  • Valuable features are integration tested automatically

@aatkin aatkin force-pushed the cache-reload-tests branch from 9903f5b to 5f99dd7 Compare January 28, 2025 13:12
Add rudimentary cache reload tests which verify that basic db entity caches initialize correctly from database:

- rems.db.attachments
- rems.db.blacklist
- rems.db.catalogue
- rems.db.form
- rems.db.licenses
- rems.db.organizations
- rems.db.resource
- rems.db.roles
- rems.db.user-mappings
- rems.db.user-settings (pre-existing)
- rems.db.users
- rems.db.workflow
@aatkin aatkin force-pushed the cache-reload-tests branch from 5f99dd7 to fb76b54 Compare January 28, 2025 13:16
@aatkin aatkin marked this pull request as ready for review January 28, 2025 14:19
@aatkin aatkin requested a review from Macroz January 28, 2025 14:19
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.

1 participant