]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5614 - Compute Engine - reindex issues at the end of the analysis
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Mon, 27 Oct 2014 16:13:34 +0000 (17:13 +0100)
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Mon, 27 Oct 2014 16:13:34 +0000 (17:13 +0100)
server/sonar-server/src/main/java/org/sonar/server/computation/ComputationStepRegistry.java
server/sonar-server/src/test/java/org/sonar/server/computation/ComputationStepRegistryTest.java

index c4f21a948efd9d2ec619fd5e2cd28c34760fad49..08fc8e2076b06400c3590aad71f70d7629c8b413 100644 (file)
@@ -35,7 +35,7 @@ public class ComputationStepRegistry implements ServerComponent {
     IndexProjectIssuesStep indexProjectIssuesStep,
     SwitchSnapshotStep switchSnapshotStep,
     DbCleanerStep dbCleanerStep) {
-    steps = ImmutableList.of(getAndSetProjectStep, synchronizeProjectPermissionsStep, indexProjectIssuesStep, switchSnapshotStep, dbCleanerStep);
+    steps = ImmutableList.of(getAndSetProjectStep, synchronizeProjectPermissionsStep, switchSnapshotStep, dbCleanerStep, indexProjectIssuesStep);
   }
 
   public List<ComputationStep> steps() {
index 506db4804dc94cd0cfd6a33a171273487a0fee80..c2f56da319a855bbc12b589f38f87d14b816f539 100644 (file)
@@ -48,6 +48,6 @@ public class ComputationStepRegistryTest {
 
   @Test
   public void steps_returned_in_the_right_order() throws Exception {
-    assertThat(sut.steps()).containsExactly(getAndSetProjectStep, synchronizeProjectPermissionsStep, indexProjectIssuesStep, switchSnapshotStep, dbCleanerStep);
+    assertThat(sut.steps()).containsExactly(getAndSetProjectStep, synchronizeProjectPermissionsStep, switchSnapshotStep, dbCleanerStep, indexProjectIssuesStep);
   }
 }