set -Djna.nosys when running tests.
This is consistent with what happens in elasticsearch.sh/.bat, and it means tests will work even if there is a crazy "system" JNA installed on the machine.
This commit is contained in:
parent
bd68af1dee
commit
79cc3c2dd0
|
@ -372,6 +372,7 @@ class BuildPlugin implements Plugin<Project> {
|
||||||
systemProperty 'tests.artifact', project.name
|
systemProperty 'tests.artifact', project.name
|
||||||
systemProperty 'tests.task', path
|
systemProperty 'tests.task', path
|
||||||
systemProperty 'tests.security.manager', 'true'
|
systemProperty 'tests.security.manager', 'true'
|
||||||
|
systemProperty 'jna.nosys', 'true'
|
||||||
// default test sysprop values
|
// default test sysprop values
|
||||||
systemProperty 'tests.ifNoTests', 'fail'
|
systemProperty 'tests.ifNoTests', 'fail'
|
||||||
systemProperty 'es.logger.level', 'WARN'
|
systemProperty 'es.logger.level', 'WARN'
|
||||||
|
|
Loading…
Reference in New Issue