]> source.dussan.org Git - sonarqube.git/commitdiff
Deactivate instable test in NewIssuesMeasureTest
authorEric Hartmann <hartmann.eric@gmail.com>
Fri, 29 Dec 2017 09:16:30 +0000 (10:16 +0100)
committerEric Hartmann <hartmann.eric@gmail.Com>
Fri, 29 Dec 2017 10:29:03 +0000 (11:29 +0100)
tests/src/test/java/org/sonarqube/tests/issue/NewIssuesMeasureTest.java

index 7b6c4c79f9f4960c6043db4190adf2944b0efb3a..28bbff461a8e37e78b40a5136ebca154cb764d20 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.WsMeasures;
@@ -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");