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

Rewrite and/or drop policy search test #2016

Open
anth-volk opened this issue Nov 25, 2024 · 1 comment
Open

Rewrite and/or drop policy search test #2016

anth-volk opened this issue Nov 25, 2024 · 1 comment

Comments

@anth-volk
Copy link
Collaborator

This test has repeatedly been the cause of spurious errors, mainly because it tests against a local database run instead of mocking the db altogether. This leads to a race condition anytime that tests are run simultaneously, since all tests are being run against the same db.

@anth-volk
Copy link
Collaborator Author

E.g., this is occurring in the run at https://github.com/PolicyEngine/policyengine-api/actions/runs/12015833593/job/33494726478, since three other runs occurred at almost the same time due to changes being pushed close together.

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

No branches or pull requests

1 participant