Skip to content

Commit

Permalink
chore: disable telemetry during tests (#826)
Browse files Browse the repository at this point in the history
Signed-off-by: Fred Bricon <[email protected]>
  • Loading branch information
fbricon authored May 17, 2024
1 parent 126eec9 commit e9e7d9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ sourceSets {
test {
// Discover and execute JUnit4-based tests
useJUnit()
systemProperties['com.redhat.devtools.intellij.telemetry.mode'] = 'debug'
systemProperties['com.redhat.devtools.intellij.telemetry.mode'] = 'disabled'
jvmArgs "-Djava.awt.headless=true"
jacoco {
includeNoLocationClasses = true
Expand All @@ -85,7 +85,7 @@ test {
}

tasks.register('integrationTest', Test) {
systemProperties['com.redhat.devtools.intellij.telemetry.mode'] = 'debug'
systemProperties['com.redhat.devtools.intellij.telemetry.mode'] = 'disabled'
description = 'Runs the integration tests.'
group = 'verification'
testClassesDirs = sourceSets.integrationTest.output.classesDirs
Expand All @@ -110,7 +110,7 @@ tasks.register('integrationUITest', Test) {
useJUnitPlatform {
includeTags 'ui-test'
}
systemProperties['com.redhat.devtools.intellij.telemetry.mode'] = 'debug'
systemProperties['com.redhat.devtools.intellij.telemetry.mode'] = 'disabled'
description = 'Runs the integration UI tests.'
group = 'verification'
testClassesDirs = sourceSets.integrationTest.output.classesDirs
Expand Down

0 comments on commit e9e7d9e

Please sign in to comment.