Skip to content

Commit e82e997

Browse files
authored
SONARPY-2454 Disable telemetry in the ITs (#2234)
1 parent e53baba commit e82e997

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

its/plugin/it-python-plugin-test/src/test/java/com/sonar/python/it/plugin/TestsUtils.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ public final class TestsUtils {
5050
.useDefaultAdminCredentialsForBuilds(true)
5151
.setSonarVersion(System.getProperty(SQ_VERSION_PROPERTY, DEFAULT_SQ_VERSION))
5252
.addPlugin(PLUGIN_LOCATION)
53+
.setServerProperty("sonar.telemetry.enable", "false") // Disable telemetry waiting for ORCH-497
54+
5355
// Custom rules plugin
5456
.addPlugin(FileLocation.byWildcardMavenFilename(new File("../python-custom-rules-plugin/target"), "python-custom-rules-plugin-*.jar"))
5557
.addPlugin(FileLocation.byWildcardMavenFilename(new File("../../../docs/python-custom-rules-example/target"), "python-custom-rules-example-*.jar"))

its/ruling/src/test/java/org/sonar/python/it/RulingHelper.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ static OrchestratorExtension getOrchestrator(Edition sonarEdition) {
4545
.setSonarVersion(System.getProperty(SQ_VERSION_PROPERTY, DEFAULT_SQ_VERSION))
4646
.setEdition(sonarEdition)
4747
.addPlugin(FileLocation.byWildcardMavenFilename(new File("../../sonar-python-plugin/target"), "sonar-python-plugin-*.jar"))
48-
.addPlugin(MavenLocation.of("org.sonarsource.sonar-lits-plugin", "sonar-lits-plugin", "0.11.0.2659"));
48+
.addPlugin(MavenLocation.of("org.sonarsource.sonar-lits-plugin", "sonar-lits-plugin", "0.11.0.2659"))
49+
.setServerProperty("sonar.telemetry.enable", "false"); // Disable telemetry waiting for ORCH-497
4950

5051
if (sonarEdition != Edition.COMMUNITY) {
5152
builder.activateLicense();

0 commit comments

Comments
 (0)