From ef63a6289f92d08200d5b5cee9203279c5ed2d5a Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Lesaint?= Date: Wed, 27 Dec 2017 13:31:22 +0100 Subject: [PATCH] disable unstable tests in IT NewIssuesMeasureTest --- .../java/org/sonarqube/tests/issue/NewIssuesMeasureTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/src/test/java/org/sonarqube/tests/issue/NewIssuesMeasureTest.java b/tests/src/test/java/org/sonarqube/tests/issue/NewIssuesMeasureTest.java index d9df5202424..f1e4a877a83 100644 --- a/tests/src/test/java/org/sonarqube/tests/issue/NewIssuesMeasureTest.java +++ b/tests/src/test/java/org/sonarqube/tests/issue/NewIssuesMeasureTest.java @@ -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"); -- 2.39.5