Skip to content

Commit e18de27

Browse files
committed
testing headless
1 parent a0c3c5b commit e18de27

File tree

9 files changed

+9
-0
lines changed

9 files changed

+9
-0
lines changed

examples/mapreduce-bitcoinblock/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ dependencies {
104104
}
105105

106106
task testIntegration(type: Test) {
107+
systemProperty "java.awt.headless", "true"
107108
testClassesDirs = sourceSets.testIntegration.output.classesDirs
108109
classpath = sourceSets.testIntegration.runtimeClasspath
109110
useJUnitPlatform()

examples/mapreduce-bitcointransaction/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ dependencies {
100100
}
101101

102102
task testIntegration(type: Test) {
103+
systemProperty "java.awt.headless", "true"
103104
testClassesDirs = sourceSets.testIntegration.output.classesDirs
104105
classpath = sourceSets.testIntegration.runtimeClasspath
105106
useJUnitPlatform()

examples/mapreduce-ethereumblock/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ shadowJar {
105105

106106

107107
task testIntegration(type: Test) {
108+
systemProperty "java.awt.headless", "true"
108109
testClassesDirs = sourceSets.testIntegration.output.classesDirs
109110
classpath = sourceSets.testIntegration.runtimeClasspath
110111
useJUnitPlatform()

examples/spark-bitcoinblock/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ dependencies {
9999
}
100100

101101
task testIntegration(type: Test) {
102+
systemProperty "java.awt.headless", "true"
102103
testClassesDirs = sourceSets.testIntegration.output.classesDirs
103104
classpath = sourceSets.testIntegration.runtimeClasspath
104105
useJUnitPlatform()

examples/spark2-bitcoinblock/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ testIntegrationImplementation("org.apache.hadoop:hadoop-client:2.7.0")
101101
}
102102

103103
task testIntegration(type: Test) {
104+
systemProperty "java.awt.headless", "true"
104105
testClassesDirs = sourceSets.testIntegration.output.classesDirs
105106
classpath = sourceSets.testIntegration.runtimeClasspath
106107
useJUnitPlatform()

flinkdatasource/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ publishing {
100100

101101

102102
test {
103+
systemProperty "java.awt.headless", "true"
103104
testLogging.showStandardStreams = true
104105
useJUnitPlatform()
105106
}

hiveserde/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jacocoTestReport {
5454

5555

5656
test {
57+
systemProperty "java.awt.headless", "true"
5758
testLogging.showStandardStreams = true
5859
useJUnitPlatform()
5960
}

hiveudf/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ repositories {
4747
}
4848

4949
test {
50+
systemProperty "java.awt.headless", "true"
5051
testLogging.showStandardStreams = true
5152
useJUnitPlatform()
5253
}

inputformat/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ task sourcesJar(type: Jar) {
8686
}
8787

8888
test {
89+
systemProperty "java.awt.headless", "true"
8990
testLogging.showStandardStreams = true
9091
useJUnitPlatform()
9192
}

0 commit comments

Comments
 (0)