aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2022-12-06 16:48:41 -0600
committersonartech <sonartech@sonarsource.com>2022-12-09 20:03:10 +0000
commitb7e67fd16dda1f14ce2901310f5bf21f0030960a (patch)
tree2a3cacc99547891ef95931f8bf54aa2719417db3
parent271bc37b16625c393d47503a235a626645d77641 (diff)
downloadsonarqube-b7e67fd16dda1f14ce2901310f5bf21f0030960a.tar.gz
sonarqube-b7e67fd16dda1f14ce2901310f5bf21f0030960a.zip
[NO JIRA] Fix unstable test
-rw-r--r--sonar-scanner-engine/src/test/java/org/sonar/scm/git/CompositeBlameCommandTest.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/sonar-scanner-engine/src/test/java/org/sonar/scm/git/CompositeBlameCommandTest.java b/sonar-scanner-engine/src/test/java/org/sonar/scm/git/CompositeBlameCommandTest.java
index 792b501e093..9b39be5b7d4 100644
--- a/sonar-scanner-engine/src/test/java/org/sonar/scm/git/CompositeBlameCommandTest.java
+++ b/sonar-scanner-engine/src/test/java/org/sonar/scm/git/CompositeBlameCommandTest.java
@@ -184,11 +184,6 @@ public class CompositeBlameCommandTest {
// register warning with default wrapper
BlameCommand.BlameOutput output = mock(BlameCommand.BlameOutput.class);
blameCommand.blame(input, output);
-
- assertThat(logTester.logs()).first()
- .matches(s -> s.contains("Shallow clone detected, no blame information will be provided."));
- verifyNoInteractions(output);
-
verify(analysisWarnings).addUnique(startsWith("Shallow clone detected"));
}