diff --git a/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/fs/FileSystemMediumTest.java b/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/fs/FileSystemMediumTest.java
index <HASH>..<HASH> 100644
--- a/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/fs/FileSystemMediumTest.java
+++ b/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/fs/FileSystemMediumTest.java
@@ -767,7 +767,8 @@ public class FileSystemMediumTest {
     ScannerMediumTester.AnalysisBuilder analysis = tester
       .newAnalysis(new File(projectDir, "sonar-project.properties"))
       .property("sonar.sources", "XOURCES")
-      .property("sonar.tests", "TESTX");
+      .property("sonar.tests", "TESTX")
+      .property("sonar.scm.exclusions.disabled", "true");
 
     if (System2.INSTANCE.isOsWindows()) { // Windows is file path case-insensitive
       AnalysisResult result = analysis.execute();
Fix scanner engine test failing on macOS