Apache Lucene open-source search software
LUCENE-2611: When the CWD is solr/build/tests/, the hack in SolrTestCaseJ4.determineSourceHome() fails while running the Solr module tests because of classpath ordering: the CWD is checked first to locate the solr/conf/ dir; this succeeds, but the relative path used for the CWD excludes its ancestry, so the source home can't be navigated to without converting to absolute, which determinSourceHome() does not do.
Steven Rowe317d3abbbe08
diff --git a/dev-tools/idea/.idea/workspace.xml b/dev-tools/idea/.idea/workspace.xmlindex 09044945a25..3467156a99f 100644--- a/dev-tools/idea/.idea/workspace.xml+++ b/dev-tools/idea/.idea/workspace.xml@@ -158,7 +158,7 @@<configuration default="false" name="solr" type="JUnit" factoryName="JUnit"><module name="solr" /><option name="TEST_OBJECT" value="package" />- <option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/solr/build/tests" />+ <option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/solr/build/tests/solr" /><option name="VM_PARAMETERS" value="-ea -Dtests.luceneMatchVersion=4.0 -DtempDir=temp" /><option name="TEST_SEARCH_SCOPE"><value defaultName="singleModule" /></option></configuration>