]> source.dussan.org Git - sonarqube.git/commit
SONAR-9156 fail persisting components if project is not persisted
authorDaniel Schwarz <daniel.schwarz@sonarsource.com>
Thu, 4 May 2017 09:21:31 +0000 (11:21 +0200)
committerDaniel Schwarz <bartfastiel@users.noreply.github.com>
Tue, 9 May 2017 16:38:24 +0000 (18:38 +0200)
commita2956e174784930170e1d6839c0924af24f27ce1
tree152cdfcbf7d43d4e512533c978e141f7214d914b
parent88bb8230b1bfd3e6ec923c35890c1daba93fece4
SONAR-9156 fail persisting components if project is not persisted

When an analysis is processed, we expect the analysis’ project to be already stored in the database.
server/sonar-server/src/main/java/org/sonar/server/computation/task/projectanalysis/step/PersistComponentsStep.java
server/sonar-server/src/test/java/org/sonar/server/computation/task/projectanalysis/step/PersistComponentsStepTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/computation/task/projectanalysis/step/ReportPersistComponentsStepTest.java