remove jimfs dep in tests

This commit is contained in:
Robert Muir 2015-11-03 23:29:14 -05:00
parent 602feac915
commit 6be9954d28
3 changed files with 12 additions and 1 deletions

View File

@ -17,8 +17,20 @@
* under the License.
*/
/*
* Evil tests that need to do unrealistic things: test OS security
* integration, change default filesystem impl, mess with arbitrary
* threads, etc.
*/
apply plugin: 'elasticsearch.standalone-test'
dependencies {
testCompile 'com.google.jimfs:jimfs:1.0'
}
// TODO: give each evil test its own fresh JVM for more isolation.
test {
systemProperty 'tests.security.manager', 'false'
}

View File

@ -33,7 +33,6 @@ dependencies {
compile('org.hamcrest:hamcrest-all:1.3') {
exclude group: 'org.hamcrest', module: 'hamcrest-core'
}
compile 'com.google.jimfs:jimfs:1.0'
compile "org.apache.httpcomponents:httpclient:${versions.httpclient}"
}