]> source.dussan.org Git - sonarqube.git/commitdiff
disable unstable tests in IT NewIssuesMeasureTest 2930/head
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Wed, 27 Dec 2017 12:31:22 +0000 (13:31 +0100)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Wed, 27 Dec 2017 12:31:22 +0000 (13:31 +0100)
tests/src/test/java/org/sonarqube/tests/issue/NewIssuesMeasureTest.java

index d9df52024240045524e78f9258cbea9052fd7dbf..f1e4a877a83441523464fdae2ea59840f848575e 100644 (file)
@@ -23,6 +23,7 @@ import com.sonar.orchestrator.build.SonarScanner;
 import java.util.Map;
 import org.junit.AfterClass;
 import org.junit.Before;
+import org.junit.Ignore;
 import org.junit.Test;
 import org.sonar.wsclient.issue.IssueQuery;
 import org.sonarqube.ws.Measures;
@@ -52,6 +53,7 @@ public class NewIssuesMeasureTest extends AbstractIssueTest {
   }
 
   @Test
+  @Ignore("unstable test")
   public void new_issues_measures() throws Exception {
     setServerProperty(ORCHESTRATOR, "sonar.leak.period", "previous_version");
     ORCHESTRATOR.getServer().provisionProject("sample", "Sample");
@@ -76,6 +78,7 @@ public class NewIssuesMeasureTest extends AbstractIssueTest {
   }
 
   @Test
+  @Ignore("unstable test")
   public void new_issues_measures_should_be_zero_on_project_when_no_new_issues_since_x_days() throws Exception {
     setServerProperty(ORCHESTRATOR, "sonar.leak.period", "30");
     ORCHESTRATOR.getServer().provisionProject("sample", "Sample");