On 5/16/2013 10:46 AM, bbarani wrote:
I am using SOLR 4.3.0, I have created multiple custom components.

I am getting the below error when I run tests (using SOLR 4.3 test
framework) against one of the custom component....All the tests pass but I
still get the below error once test gets completed. Can someone help me
resolve this error?

java.lang.AssertionError: ERROR: SolrIndexSearcher opens=1 closes=0

It looks like you opened a searcher object as part of your test but then didn't close it. If you didn't do this in the test itself, perhaps it's happening in your custom component.

I'm a little fuzzy on test writing, though.

Thanks.
Shawn

Reply via email to