mirror of https://github.com/apache/lucene.git
SOLR-10219: stop defaulting to tests.disableHdfs=true under java9
This commit is contained in:
parent
540a237231
commit
4851f399d4
|
@ -173,15 +173,6 @@
|
|||
</plugins>
|
||||
</build>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>java9-tests-disableHdfs</id>
|
||||
<activation>
|
||||
<jdk>[9,)</jdk>
|
||||
</activation>
|
||||
<properties>
|
||||
<tests.disableHdfs>true</tests.disableHdfs>
|
||||
</properties>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>windows-tests-disableHdfs</id>
|
||||
<activation>
|
||||
|
|
|
@ -151,14 +151,11 @@
|
|||
</macrodef>
|
||||
|
||||
<!--
|
||||
We don't want to run HDFS tests on Windows, because they require Cygwin.
|
||||
We don't want to run HDFS tests on Java 9 Jigsaw, because Hadoop/HDFS is completely broken with Java's module system.
|
||||
We don't want to run HDFS tests on Windows by default, because they require Cygwin.
|
||||
Cygwin users can explicitly set -Dtests.disableHdfs=false to enable Hdfs related testing.
|
||||
-->
|
||||
<condition property="tests.disableHdfs" value="true">
|
||||
<or>
|
||||
<os family="windows"/>
|
||||
<available classname="java.lang.reflect.Module"/>
|
||||
</or>
|
||||
<os family="windows"/>
|
||||
</condition>
|
||||
|
||||
<target name="validate" depends="compile-tools">
|
||||
|
|
Loading…
Reference in New Issue