Use read-only users in integration tests where possible #1025
Labels
code/chore
Code maintenance improvements
not ready
Issues that are not ready to be worked on; PRs that should skip CI
We should use a read-only user in integration tests where we can. For example, query (
SELECT
/find
) tests do not change data and could run all queries in parallel; a read-only user will ensure that it is safe.The implementation is not trivial because that will require changes in how we set up listeners. We should use a normal user when we insert data, then stop the first listener and start a second one with a read-only user.
Tigris is not in the scope unless they have already implemented authentication and authorization.
See references to this issue in code.
DoD:
Notes:
The text was updated successfully, but these errors were encountered: