Skip to content

Commit b04ae1f

Browse files
SCANNERAPI-185 - Fix ITs
1 parent eed3f6b commit b04ae1f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • its/it-tests/src/test/java/com/sonar/scanner/api/it

its/it-tests/src/test/java/com/sonar/scanner/api/it/SSLTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,9 @@ public void simple_analysis_with_server_and_without_client_certificate_is_failin
215215

216216
// different exception is thrown depending on the JDK version. See: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8172163
217217
assertThat(buildResult.getLogs()).matches(p ->
218-
p.matches("(?s).*org\\.sonarsource\\.scanner\\.api\\.internal\\.ScannerException: Unable to execute SonarQube.*" +
218+
p.matches("(?s).*org\\.sonarsource\\.scanner\\.api\\.internal\\.ScannerException: Unable to execute SonarScanner analysis.*" +
219219
"Caused by: javax\\.net\\.ssl\\.SSLProtocolException: Broken pipe \\(Write failed\\).*") ||
220-
p.matches("(?s).*org\\.sonarsource\\.scanner\\.api\\.internal\\.ScannerException: Unable to execute SonarQube.*" +
220+
p.matches("(?s).*org\\.sonarsource\\.scanner\\.api\\.internal\\.ScannerException: Unable to execute SonarScanner analysis.*" +
221221
"Caused by: javax\\.net\\.ssl\\.SSLHandshakeException: Received fatal alert: bad_certificate.*"));
222222
}
223223

0 commit comments

Comments
 (0)