From 7df3e2db378b0c0da423439cf2552c8115e76f3b Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Fri, 16 Sep 2016 14:55:15 +0200 Subject: [PATCH] Fix ITs --- it/projects/java-sample-no-properties/.sonar/.sonar_lock | 0 it/projects/java-sample-no-properties/.sonar/report-task.txt | 5 ----- it/src/test/java/com/sonar/runner/it/JavaTest.java | 2 +- 3 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 it/projects/java-sample-no-properties/.sonar/.sonar_lock delete mode 100644 it/projects/java-sample-no-properties/.sonar/report-task.txt diff --git a/it/projects/java-sample-no-properties/.sonar/.sonar_lock b/it/projects/java-sample-no-properties/.sonar/.sonar_lock deleted file mode 100644 index e69de29..0000000 diff --git a/it/projects/java-sample-no-properties/.sonar/report-task.txt b/it/projects/java-sample-no-properties/.sonar/report-task.txt deleted file mode 100644 index c8e06cf..0000000 --- a/it/projects/java-sample-no-properties/.sonar/report-task.txt +++ /dev/null @@ -1,5 +0,0 @@ -projectKey=java:sample -serverUrl=http://localhost:33151 -dashboardUrl=http://localhost:33151/dashboard/index/java:sample -ceTaskId=AVZQO0KqHsi6TBOtG5xl -ceTaskUrl=http://localhost:33151/api/ce/task?id=AVZQO0KqHsi6TBOtG5xl diff --git a/it/src/test/java/com/sonar/runner/it/JavaTest.java b/it/src/test/java/com/sonar/runner/it/JavaTest.java index 2c277c1..fb3905d 100644 --- a/it/src/test/java/com/sonar/runner/it/JavaTest.java +++ b/it/src/test/java/com/sonar/runner/it/JavaTest.java @@ -178,7 +178,7 @@ public class JavaTest extends ScannerTestCase { BuildResult result = orchestrator.executeBuildQuietly(build); assertThat(result.getStatus()).isNotEqualTo(0); // with the following message - assertThat(result.getLogs()).contains("The folder 'bad' does not exist for 'bad-source-dirs'"); + assertThat(result.getLogs()).contains("Invalid value of sonar.rouces for bad-sources-dirs"); } /** -- 2.39.5