Skip to content

Commit cd1f957

Browse files
authored
Java connectors: echo junit test stdout to console (#53677)
1 parent 8da5b34 commit cd1f957

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

build.gradle

+1-2
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,7 @@ allprojects {
133133
testLogging() {
134134
events 'skipped', 'started', 'passed', 'failed'
135135
exceptionFormat 'full'
136-
// Swallow the logs when running in airbyte-ci, rely on test reports instead.
137-
showStandardStreams = !System.getenv().containsKey("RUN_IN_AIRBYTE_CI")
136+
showStandardStreams = true
138137
}
139138
reports {
140139
junitXml {

buildSrc/src/main/groovy/airbyte-bulk-connector.gradle

+1-2
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,7 @@ class AirbyteBulkConnectorPlugin implements Plugin<Project> {
216216
testLogging() {
217217
events 'skipped', 'started', 'passed', 'failed'
218218
exceptionFormat 'full'
219-
// Swallow the logs when running in airbyte-ci, rely on test reports instead.
220-
showStandardStreams = !System.getenv().containsKey("RUN_IN_AIRBYTE_CI")
219+
showStandardStreams = true
221220
}
222221

223222
// Always re-run integration tests no matter what.

buildSrc/src/main/groovy/airbyte-java-connector.gradle

+1-2
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,7 @@ class AirbyteJavaConnectorPlugin implements Plugin<Project> {
200200
testLogging() {
201201
events 'skipped', 'started', 'passed', 'failed'
202202
exceptionFormat 'full'
203-
// Swallow the logs when running in airbyte-ci, rely on test reports instead.
204-
showStandardStreams = !System.getenv().containsKey("RUN_IN_AIRBYTE_CI")
203+
showStandardStreams = true
205204
}
206205

207206
jvmArgs = project.test.jvmArgs

0 commit comments

Comments
 (0)