Skip to content

Commit

Permalink
testing headless
Browse files Browse the repository at this point in the history
  • Loading branch information
jornfranke committed Dec 24, 2021
1 parent a0c3c5b commit e18de27
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/mapreduce-bitcoinblock/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ dependencies {
}

task testIntegration(type: Test) {
systemProperty "java.awt.headless", "true"
testClassesDirs = sourceSets.testIntegration.output.classesDirs
classpath = sourceSets.testIntegration.runtimeClasspath
useJUnitPlatform()
Expand Down
1 change: 1 addition & 0 deletions examples/mapreduce-bitcointransaction/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ dependencies {
}

task testIntegration(type: Test) {
systemProperty "java.awt.headless", "true"
testClassesDirs = sourceSets.testIntegration.output.classesDirs
classpath = sourceSets.testIntegration.runtimeClasspath
useJUnitPlatform()
Expand Down
1 change: 1 addition & 0 deletions examples/mapreduce-ethereumblock/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ shadowJar {


task testIntegration(type: Test) {
systemProperty "java.awt.headless", "true"
testClassesDirs = sourceSets.testIntegration.output.classesDirs
classpath = sourceSets.testIntegration.runtimeClasspath
useJUnitPlatform()
Expand Down
1 change: 1 addition & 0 deletions examples/spark-bitcoinblock/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ dependencies {
}

task testIntegration(type: Test) {
systemProperty "java.awt.headless", "true"
testClassesDirs = sourceSets.testIntegration.output.classesDirs
classpath = sourceSets.testIntegration.runtimeClasspath
useJUnitPlatform()
Expand Down
1 change: 1 addition & 0 deletions examples/spark2-bitcoinblock/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ testIntegrationImplementation("org.apache.hadoop:hadoop-client:2.7.0")
}

task testIntegration(type: Test) {
systemProperty "java.awt.headless", "true"
testClassesDirs = sourceSets.testIntegration.output.classesDirs
classpath = sourceSets.testIntegration.runtimeClasspath
useJUnitPlatform()
Expand Down
1 change: 1 addition & 0 deletions flinkdatasource/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ publishing {


test {
systemProperty "java.awt.headless", "true"
testLogging.showStandardStreams = true
useJUnitPlatform()
}
Expand Down
1 change: 1 addition & 0 deletions hiveserde/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jacocoTestReport {


test {
systemProperty "java.awt.headless", "true"
testLogging.showStandardStreams = true
useJUnitPlatform()
}
Expand Down
1 change: 1 addition & 0 deletions hiveudf/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ repositories {
}

test {
systemProperty "java.awt.headless", "true"
testLogging.showStandardStreams = true
useJUnitPlatform()
}
Expand Down
1 change: 1 addition & 0 deletions inputformat/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ task sourcesJar(type: Jar) {
}

test {
systemProperty "java.awt.headless", "true"
testLogging.showStandardStreams = true
useJUnitPlatform()
}
Expand Down

0 comments on commit e18de27

Please sign in to comment.