]> source.dussan.org Git - sonarqube.git/commit
Fix cache of MyBatis configuration extensions in unit tests
authorDuarte Meneses <duarte.meneses@sonarsource.com>
Fri, 27 Nov 2020 02:32:28 +0000 (20:32 -0600)
committersonartech <sonartech@sonarsource.com>
Mon, 30 Nov 2020 20:07:06 +0000 (20:07 +0000)
commit59adbb849b1ce3338e6299dea939c454df7d0cdb
treeaca4fc557f397c1e57930670a64b442c47243609
parent8def901b16ae95c76bdbc0afce2c345420b0a556
Fix cache of MyBatis configuration extensions in unit tests

The cache used a map with an ineffective key, that changed in every call. It now depends on the set of extensions being loaded.
server/sonar-db-dao/src/testFixtures/java/org/sonar/db/DbTester.java
server/sonar-db-dao/src/testFixtures/java/org/sonar/db/TestDbImpl.java