Skip to content

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
@vuorioma vuorioma self-requested a review November 18, 2025 12:35
@vuorioma vuorioma merged commit 26439cc into master Nov 18, 2025
7 checks passed
@vuorioma vuorioma deleted the cache-reload-tests branch November 18, 2025 12:43
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.

3 participants