Right, but I'm having to touch an awful lot of test cases and it's making me nervous is all. Whenever the complexification explodes like this I wonder if I'm missing something obvious.
Sometimes it's as simple as copying the solr.xml to the place that the test is set up in the initialization for the test (TestSolrEntityProcessorEndToEnd is a case in point). And it's not as simple as I thought, unfortunately. I suspect now that there's only a few cases that really run from the directory in the source tree. Many of the rest copy the files from the source tree to a temporary directory and use that temp dir as solrHome. It looks like the right thing to do is copy files to a temp dir since that's what's done in most cases and bring the outliers into line and do the same thing. At the same time we can copy the old-style solr.xml into solrHome and things will work. On Sat, Aug 24, 2013 at 2:37 PM, Robert Muir <[email protected]> wrote: > On Sat, Aug 24, 2013 at 2:29 PM, Erick Erickson <[email protected]> > wrote: > > > > What are the opinions out there? Personally I'm getting this horrible > > sinking feeling in my stomach at the number of tests I'm needing to > touch. > > Well its not most tests right: only the ones that spin up jetty, use > the example directories, and do other crazy things > > Most tests should be unaffected since they are using the simple > solr.xml config in TestHarness.getTestHarnessConfig right? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
