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

Update tests for atomicity, prefer /tmp, and add new access control tests #9032

Merged
merged 29 commits into from
Feb 22, 2024

Conversation

dcousens
Copy link
Member

@dcousens dcousens commented Feb 22, 2024

This pull request updates our tests to be atomic by design, by not sharing temporary directories or other resources.
Additionally, this pull request adds new access control tests to verbosely test as many of the possible code paths as we can.

For many moons the tests have been using --runInBand to sidestep a number of problems in relation to concurrency and databases sharing resources. This pull request should fix that problem by using:

  • Random postgresql schemas, and
  • Random mariadb database, and
  • Random SQLite database paths

Thanks to @ChrisLaneAU for help with early work on this

This comment was marked as resolved.

@dcousens dcousens force-pushed the fix-test-atomicity branch 9 times, most recently from 54d3616 to f7dcd54 Compare February 22, 2024 03:26
@dcousens dcousens self-assigned this Feb 22, 2024
@dcousens dcousens force-pushed the fix-test-atomicity branch 5 times, most recently from 1970d86 to a5b9b66 Compare February 22, 2024 05:38
@dcousens dcousens merged commit c907dc0 into main Feb 22, 2024
43 checks passed
@dcousens dcousens deleted the fix-test-atomicity branch February 22, 2024 06:01
@dcousens dcousens mentioned this pull request Mar 28, 2024
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