aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/src
diff options
context:
space:
mode:
authorMatteo Mara <matteo.mara@sonarsource.com>2023-08-22 17:58:10 +0200
committersonartech <sonartech@sonarsource.com>2023-08-23 20:03:05 +0000
commitc18ac52206865366a1ab9edd77a77c3fb76fe1fc (patch)
tree9a2a78a72f56e55ad7e62f6f6df1555c206b563d /sonar-scanner-engine/src
parentbd966450d95c7e98bc279f47e35b747e8cf3de3d (diff)
downloadsonarqube-c18ac52206865366a1ab9edd77a77c3fb76fe1fc.tar.gz
sonarqube-c18ac52206865366a1ab9edd77a77c3fb76fe1fc.zip
SONAR-19725 Fix false positive from QualityGateCheckTest
Diffstat (limited to 'sonar-scanner-engine/src')
-rw-r--r--sonar-scanner-engine/src/test/java/org/sonar/scanner/qualitygate/QualityGateCheckTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-scanner-engine/src/test/java/org/sonar/scanner/qualitygate/QualityGateCheckTest.java b/sonar-scanner-engine/src/test/java/org/sonar/scanner/qualitygate/QualityGateCheckTest.java
index 558b2b4f4b5..d496c49b53a 100644
--- a/sonar-scanner-engine/src/test/java/org/sonar/scanner/qualitygate/QualityGateCheckTest.java
+++ b/sonar-scanner-engine/src/test/java/org/sonar/scanner/qualitygate/QualityGateCheckTest.java
@@ -29,8 +29,8 @@ import org.junit.runner.RunWith;
import org.mockito.ArgumentMatcher;
import org.mockito.Mockito;
import org.slf4j.event.Level;
-import org.sonar.api.utils.MessageException;
import org.sonar.api.testfixtures.log.LogTester;
+import org.sonar.api.utils.MessageException;
import org.sonar.scanner.bootstrap.DefaultScannerWsClient;
import org.sonar.scanner.bootstrap.GlobalAnalysisMode;
import org.sonar.scanner.report.CeTaskReportDataHolder;
@@ -87,8 +87,8 @@ public class QualityGateCheckTest {
underTest.stop();
- assertThat(logTester.logs())
- .containsOnly(
+ assertThat(logTester.logs(Level.INFO))
+ .contains(
"Waiting for the analysis report to be processed (max 5s)",
"QUALITY GATE STATUS: PASSED - View details on http://dashboard-url.com");
}