akvo-rsr icon indicating copy to clipboard operation
akvo-rsr copied to clipboard

Doc: Mention that tests must be run with --keepdb

Open MichaelAkvo opened this issue 3 years ago • 0 comments

After the introduction of project hierarchies (#4710) using ltree, once the db is created, tests can't delete it and rerun migrations. ltree is an extension that has to be activated and in order to do that, root permissions are required.

The database creation and extension activation are done in docker entrypoint scripts that have postgres root access. Therefore, --keepdb becomes mandatory.

MichaelAkvo avatar Jan 12 '22 10:01 MichaelAkvo