Disable HDFS fixture on windows, it requires native libraries.

This commit is contained in:
Robert Muir 2015-12-20 16:30:19 -08:00
parent 08d1d2f192
commit 03a2b6b01b
1 changed files with 11 additions and 1 deletions

View File

@ -65,7 +65,17 @@ task hdfsFixture(type: org.elasticsearch.gradle.test.Fixture) {
}
integTest {
dependsOn hdfsFixture
// hdfs fixture will not start without hadoop native libraries on windows
// so we can't run integration tests against external hadoop here.
if (System.getProperty("os.name").startsWith("Windows")) {
systemProperty 'tests.rest.blacklist', [
'hdfs_repository/20_repository/*',
'hdfs_repository/30_snapshot/*',
'hdfs_repository/40_restore/*'
].join(',')
} else {
dependsOn hdfsFixture
}
}
compileJava.options.compilerArgs << '-Xlint:-deprecation,-rawtypes'