]> source.dussan.org Git - sonarqube.git/commit
Fix Elasticsearch UT failing do incorrect order
authorJacek <jacek.poreda@sonarsource.com>
Thu, 31 Mar 2022 15:10:01 +0000 (17:10 +0200)
committersonartech <sonartech@sonarsource.com>
Thu, 31 Mar 2022 20:02:59 +0000 (20:02 +0000)
commit171cc1e06ec0a10cf2383184c1441db985698858
tree40623385ccf68c9e158362e84c2d7ff8dc600501
parent741348e03f0a71bb8d9295cddaf4502a2174ce72
Fix Elasticsearch UT failing do incorrect order

whne pruning data for each test case ES is performing soft deletes, which can affect query score results, recreating indexes fixes that problem
server/sonar-server-common/src/testFixtures/java/org/sonar/server/es/EsTester.java
server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexScoreTest.java