Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions yaml-tests/yaml-tests.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,11 @@ def copyTempLogs = tasks.register("copyTempLogs", Copy) {
setIncludeEmptyDirs(false)
}

tasks.withType(Test).configureEach {
// Override the global debug-level log4j config; yaml-tests has its own tuned config
systemProperty('log4j2.configurationFile', project.file('src/test/resources/log4j2-test.properties').toURI())
}

tasks.withType(Test).configureEach {
if (project.hasProperty("tests.ci") || project.hasProperty("tests.saveServerLogs")) {
systemProperties['tests.saveServerLogs'] = "true"
Expand Down
Loading