]> source.dussan.org Git - sonarqube.git/commit
fix views plugin large tests failing
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Fri, 7 Nov 2014 17:07:42 +0000 (18:07 +0100)
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Fri, 7 Nov 2014 17:14:32 +0000 (18:14 +0100)
commit292b257498c96ad0eb506a7461ebfafdbb1d7d35
tree6a63a681003bd50672be45766adc2bc5f7e4c2da
parentc15eed7f52ca0d4014cae918c19a5135808ff9af
fix views plugin large tests failing

it was linked to asynchronous switch in the compute engine. Views datacleaner (batch side) could be launched before than the snapshot switch happened on the server side. It's a temporary hack waiting for next views plugin release (which won't call the PurgeTask#purge(...) method anymore)
sonar-core/src/main/java/org/sonar/core/computation/dbcleaner/DefaultPurgeTask.java
sonar-core/src/test/java/org/sonar/core/computation/dbcleaner/DefaultPurgeTaskTest.java