Re: How to Configure Solr For Test Purposes?

2014-05-27 Thread Furkan KAMACI
Hi All; I have defined just that: autoSoftCommit maxTime1/maxTime /autoSoftCommit then turned of hard commit. I've run my tests time and time again and did not get any error. Who wants to write a unit test that interacts with Solr as like my situation can use it. Thanks; Furkan

Re: How to Configure Solr For Test Purposes?

2014-05-27 Thread Tomás Fernández Löbbe
What do you suggest for my purpose? If a test case fails re-running it for some times maybe a solution? What kind of configuration do you suggest for my Solr configuration? From the snippet of test that you showed, it looks like it's testing only Solr functionality. So, first make sure this

Re: How to Configure Solr For Test Purposes?

2014-05-27 Thread Furkan KAMACI
Hi; I've developed a Proxy application that takes request from clients and sends them to Solr then gets response and sends them to client as response. So, I am testing my application, my proxy for Solr. Thanks; Furkan KAMACI 2014-05-27 14:52 GMT+03:00 Tomás Fernández Löbbe

How to Configure Solr For Test Purposes?

2014-05-26 Thread Furkan KAMACI
Hi; I run Solr within my Test Suite. I delete documents or atomically update them and check whether if it works or not. I know that I have to setup a hard/soft commit timing for my test Solr. However even I have that settings: autoCommit maxTime1/maxTime

Re: How to Configure Solr For Test Purposes?

2014-05-26 Thread Shawn Heisey
On 5/26/2014 10:57 AM, Furkan KAMACI wrote: Hi; I run Solr within my Test Suite. I delete documents or atomically update them and check whether if it works or not. I know that I have to setup a hard/soft commit timing for my test Solr. However even I have that settings: autoCommit

Re: How to Configure Solr For Test Purposes?

2014-05-26 Thread Furkan KAMACI
Hi Shawn; I know that it is a bad practise but I just commit up to 5 documents and there will not be more than 5 documents at any time at any test method. It is just for test purpose to see that my API works. I want to have automatic tests. What do you suggest for my purpose? If a test case