aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Hartmann <hartmann.eric@gmail.com>2017-12-29 10:16:30 +0100
committerEric Hartmann <hartmann.eric@gmail.Com>2017-12-29 11:29:03 +0100
commit3c4af8732eb3df096afbebeda831ff1615107980 (patch)
tree2e85ffdda8a8c70303e330eaba135c220e9f1cae
parent6dd99e0c6f2a431a38e9284e9cfc2a9c53c21d7f (diff)
downloadsonarqube-3c4af8732eb3df096afbebeda831ff1615107980.tar.gz
sonarqube-3c4af8732eb3df096afbebeda831ff1615107980.zip
Deactivate instable test in NewIssuesMeasureTest
-rw-r--r--tests/src/test/java/org/sonarqube/tests/issue/NewIssuesMeasureTest.java3
1 files changed, 3 insertions, 0 deletions
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 7b6c4c79f9f..28bbff461a8 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.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");