cubicweb #5778294 in pre_setup_database, cnx.repo != config.repository() [validation pending]

Meaning we have 2 repository instances, but only one is cleaned-up, the other one leaving connections opened, which is a problem with the PG dbhandler.

priorityimportant
typebug
done in3.20.11
load1.000
load left0.000
closed by#daef7ce08fea [tests] Fix config.repository() in tests
patch[tests] Fix config.repository() in tests [applied]