From: Teryk Bellahsene Date: Mon, 27 Oct 2014 16:13:34 +0000 (+0100) Subject: SONAR-5614 - Compute Engine - reindex issues at the end of the analysis X-Git-Tag: 5.0-RC1~562 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=687b8608b0ffaf87b9605caa722e0267b61b8c8f;p=sonarqube.git SONAR-5614 - Compute Engine - reindex issues at the end of the analysis --- diff --git a/server/sonar-server/src/main/java/org/sonar/server/computation/ComputationStepRegistry.java b/server/sonar-server/src/main/java/org/sonar/server/computation/ComputationStepRegistry.java index c4f21a948ef..08fc8e2076b 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/computation/ComputationStepRegistry.java +++ b/server/sonar-server/src/main/java/org/sonar/server/computation/ComputationStepRegistry.java @@ -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 steps() { diff --git a/server/sonar-server/src/test/java/org/sonar/server/computation/ComputationStepRegistryTest.java b/server/sonar-server/src/test/java/org/sonar/server/computation/ComputationStepRegistryTest.java index 506db4804dc..c2f56da319a 100644 --- a/server/sonar-server/src/test/java/org/sonar/server/computation/ComputationStepRegistryTest.java +++ b/server/sonar-server/src/test/java/org/sonar/server/computation/ComputationStepRegistryTest.java @@ -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); } }