File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/test/java/com/sonarsource/scanner/it Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 27
27
<!-- following properties must be set in command-line : sonar.runtimeVersion and sonarRunner.version -->
28
28
29
29
<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>
31
31
</properties >
32
32
33
33
<dependencies >
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ public void should_use_environment_prop() {
190
190
191
191
assertThat (buildResult .isSuccess ()).isFalse ();
192
192
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" );
194
194
}
195
195
196
196
@ Test
@@ -207,7 +207,7 @@ public void should_skip_analysis() {
207
207
@ Test
208
208
public void should_fail_if_unable_to_connect () {
209
209
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
211
211
.setEnvironmentVariable ("SONAR_HOST_URL" , "http://www.google.com" )
212
212
.setProperty ("sonar.host.url" , "http://www.google.com/404" );
213
213
@@ -216,7 +216,7 @@ public void should_fail_if_unable_to_connect() {
216
216
assertThat (result .isSuccess ()).isFalse ();
217
217
// with the following message
218
218
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" );
220
220
}
221
221
222
222
// SONARPLUGINS-3574
You can’t perform that action at this time.
0 commit comments