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

Weekly test optimization #470

Open
bjsilva1 opened this issue Feb 2, 2025 · 0 comments
Open

Weekly test optimization #470

bjsilva1 opened this issue Feb 2, 2025 · 0 comments
Labels
backend enhancement New feature or request

Comments

@bjsilva1
Copy link
Collaborator

bjsilva1 commented Feb 2, 2025

Currently the weekly fetch service tests are taking way too long to run due each database upsert being a transaction.

The task is to find a way to make this more efficient, ideally while still being able to rollback on failure.

Something we could end up doing is testing each helper function used in the weekly action separately so we don't end up inserting the entire week's menu during the test.

@bjsilva1 bjsilva1 added enhancement New feature or request backend labels Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant