I'm working on SOLR-4817 on trunk. The idea there is that if there is no
path to solr.xml, we should fail. That part is easy to do.
Where I'm having trouble is that this causes CacheHeaderTest to fail
miserably. I've fixed other test failures by setting up a Jetty instance by
creating a temporary directory like in other tests and populating it with a
minimal set of config files.
But CacheHeaderTest doesn't succeed if I do that. The glaring difference is
this call:
createJetty("solr/", null, null);
If I create a temp dir that populates a directory (myHome) with solr.xml,
collection1/conf/good stuff and call createJetty(myHome.getAbsolutePath(),
null, null) then the test fails in one of several flavors.
I'm having real trouble figuring out where the hell the configs are read
from when the solrHome of "solr/" comes from, and why it would behave
differently than a full configuration with an absolute path.
Any pointers appreciated. Otherwise I'll just try it again in the morning.
I know this is incoherent, but I'm at my wits end....
Erick