Skip to content

Commit 309b0d5

Browse files
committed
Disable the SecurityManager for command testing
1 parent 98a7fa6 commit 309b0d5

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

x-pack/plugin/sql/qa/server/multi-node/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,8 @@ testClusters.matching { it.name == "integTest" }.configureEach {
1212
setting 'xpack.license.self_generated.type', 'trial'
1313
plugin ':x-pack:qa:freeze-plugin'
1414
}
15+
16+
tasks.named("integTest").configure {
17+
// Disabled because of log4j Security Manager permission issues in CLI tools
18+
systemProperty 'tests.security.manager', 'false'
19+
}

x-pack/plugin/sql/qa/server/security/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ subprojects {
5454
"${-> testClusters.integTest.singleNode().getAuditLog()}"
5555
nonInputProperties.systemProperty 'tests.audit.yesterday.logfile',
5656
"${-> testClusters.integTest.singleNode().getAuditLog().getParentFile()}/integTest_audit-${new Date().format('yyyy-MM-dd')}-1.json.gz"
57+
58+
// Disabled because of log4j Security Manager permission issues in CLI tools
59+
systemProperty 'tests.security.manager', 'false'
5760
}
5861

5962
tasks.named("testingConventions").configure { enabled = false }

x-pack/plugin/sql/qa/server/single-node/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,8 @@ testClusters.matching { it.name == "integTest" }.configureEach {
44
setting 'xpack.license.self_generated.type', 'trial'
55
plugin ':x-pack:qa:freeze-plugin'
66
}
7+
8+
tasks.named("integTest").configure {
9+
// Disabled because of log4j Security Manager permission issues in CLI tools
10+
systemProperty 'tests.security.manager', 'false'
11+
}

0 commit comments

Comments
 (0)