Re: Solr test framework not able to upload configuration to zk and fails with KeeperException

2019-06-06 Thread Pratik Patel
gt;> wrote: > > > > /solr/configs/collection2 > > > On Jun 4, 2019, at 14:29, Pratik Patel wrote: > > > > Hello Everyone, > > > > I am trying to run a simple unit test using solr test framework. At this > > point, all I am trying to achieve is

Re: Solr test framework not able to upload configuration to zk and fails with KeeperException

2019-06-04 Thread Angie Rabelero
, at 14:29, Pratik Patel wrote: > > Hello Everyone, > > I am trying to run a simple unit test using solr test framework. At this > point, all I am trying to achieve is to be able to upload some > configuration and create a collection using solr test framework. > > Following is

Re: Solr test framework not able to upload configuration to zk and fails with KeeperException

2019-06-04 Thread Erick Erickson
On the surface, this znode already exists: /solr/configs/collection2 So it looks like somehow you're > On Jun 4, 2019, at 12:29 PM, Pratik Patel wrote: > > /solr/configs/collection2

Solr test framework not able to upload configuration to zk and fails with KeeperException

2019-06-04 Thread Pratik Patel
Hello Everyone, I am trying to run a simple unit test using solr test framework. At this point, all I am trying to achieve is to be able to upload some configuration and create a collection using solr test framework. Following is the simple code which I am trying to run. private static final

Re: SOLR test framework- ERROR: SolrIndexSearcher opens=1 closes=0

2013-05-16 Thread bbarani
Thanks a lot for your response. I figured out that I am not closing the LocalSolrQueryRequest after handling the response..The error got resolved after closing the request object. -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR-test-framework-ERROR-SolrIndexSearcher

Re: SOLR test framework- ERROR: SolrIndexSearcher opens=1 closes=0

2013-05-16 Thread Shawn Heisey
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 componentAll the tests pass but I still get the below error once test gets completed

SOLR test framework- ERROR: SolrIndexSearcher opens=1 closes=0

2013-05-16 Thread bbarani
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:358) at java.lang.Thread.run(Thread.java:680) -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR-test

Re: Solr Test Framework

2011-11-10 Thread Mark Miller
What's the version of the source you are using? Can you send a minimum full test class demonstrating the issue instead? Makes it easier to give it a try. - Mark Miller lucidimagination.com On Nov 7, 2011, at 5:35 AM, Ronak Patel wrote: > > > Hi, > > > I am trying to write JUnit Test Code

Solr Test Framework

2011-11-07 Thread Ronak Patel
Hi, I am trying to write JUnit Test Code for my Solr interaction and while executing I keep getting the following errors. Mind you, I am using JUnit 4.7 and I have been calling super.setUp(). Here is some sample code... /* (non-Javadoc) * @see org.apache.solr.util.AbstractSolrTestCase#getSc