File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
src/test/java/com/sonarsource/scanner/it Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2727 <!-- following properties must be set in command-line : sonar.runtimeVersion and sonarRunner.version -->
2828
2929 <maven .compiler.release>17</maven .compiler.release>
30- <orchestrator .version>5.1 .0.2274 </orchestrator .version>
30+ <orchestrator .version>5.3 .0.2465 </orchestrator .version>
3131 </properties >
3232
3333 <dependencies >
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ public void should_use_environment_prop() {
190190
191191 assertThat (buildResult .isSuccess ()).isFalse ();
192192 assertThat (buildResult .getLogs ())
193- .contains ("Failed to query server version: HTTP 404 Not Found" );
193+ .contains ("Failed to query server version: GET http://www.google.com/404/api/server/version failed with HTTP 404 Not Found" );
194194 }
195195
196196 @ Test
@@ -207,7 +207,7 @@ public void should_skip_analysis() {
207207 @ Test
208208 public void should_fail_if_unable_to_connect () {
209209 SonarScanner build = newScannerWithToken (new File ("projects/simple-sample" ), analysisToken )
210- //env property should be overridden
210+ //env property should be overridden by command line property
211211 .setEnvironmentVariable ("SONAR_HOST_URL" , "http://www.google.com" )
212212 .setProperty ("sonar.host.url" , "http://www.google.com/404" );
213213
@@ -216,7 +216,7 @@ public void should_fail_if_unable_to_connect() {
216216 assertThat (result .isSuccess ()).isFalse ();
217217 // with the following message
218218 assertThat (result .getLogs ())
219- .contains ("Failed to query server version: HTTP 404 Not Found" );
219+ .contains ("Failed to query server version: GET http://www.google.com/404/api/server/version failed with HTTP 404 Not Found" );
220220 }
221221
222222 // SONARPLUGINS-3574
Original file line number Diff line number Diff line change 8181 <dependency >
8282 <groupId >org.sonarsource.scanner.lib</groupId >
8383 <artifactId >sonar-scanner-java-library</artifactId >
84- <version >3.2.2.411 </version >
84+ <version >3.3.1.450 </version >
8585 </dependency >
8686 <dependency >
8787 <groupId >org.slf4j</groupId >
You can’t perform that action at this time.
0 commit comments