Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Disable our lock factory tests, if clover is enabled (the exact reason is unclear, but it looks like Clover gets a deadlock if instrumented code is run inside the ANT JVM)

Uwe Schindler58f620150803
diff --git a/lucene/core/build.xml b/lucene/core/build.xml
index 8b7d018fff6..5dec503ad3b 100644
--- a/lucene/core/build.xml
+++ b/lucene/core/build.xml
@@ -195,11 +195,13 @@
</sequential>
</macrodef>
- <!-- we ignore our ant-based lock factory test, if user applies test filtering: -->
<condition property="-ignore-test-lock-factory">
<or>
+ <!-- We ignore our ant-based lock factory test, if user applies test filtering: -->
<isset property="tests.class" />
<isset property="tests.method" />
+ <!-- Clover seems to deadlock if running instrumented code inside the Ant JVM: -->
+ <isset property="run.clover" />
</or>
</condition>