diff --git a/src/test/java/org/sonar/plugins/scala/surefire/SurefireUtilsTest.java b/src/test/java/org/sonar/plugins/scala/surefire/SurefireUtilsTest.java index 7269745..6d32a81 100644 --- a/src/test/java/org/sonar/plugins/scala/surefire/SurefireUtilsTest.java +++ b/src/test/java/org/sonar/plugins/scala/surefire/SurefireUtilsTest.java @@ -27,6 +27,7 @@ import org.apache.maven.project.MavenProject; import org.junit.Before; +import org.junit.Ignore; import org.junit.Test; import org.sonar.api.batch.fs.internal.DefaultFileSystem; import org.sonar.api.config.Settings; @@ -51,14 +52,16 @@ public void shouldGetReportsFromProperty() { assertThat(SurefireUtils.getReportsDirectory(fileSystem, settings, null).isDirectory()).isTrue(); } -// @Test + @Ignore("caused test failures on release") + @Test public void shouldGetReportsFromPluginConfiguration() { MavenProject pom = MavenTestUtils.loadPom(getClass(), "shouldGetReportsFromPluginConfiguration/pom.xml"); assertThat(SurefireUtils.getReportsDirectory(fileSystem, settings, pom).exists()).isTrue(); assertThat(SurefireUtils.getReportsDirectory(fileSystem, settings, pom).isDirectory()).isTrue(); } -// @Test + @Ignore("caused test failures on release") + @Test public void shouldGetReportsFromDefaultConfiguration() { fileSystem.setBaseDir(new File("src/test/resources/surefire")); File reportsDir = SurefireUtils.getReportsDirectory(fileSystem, settings, null);