Re: Sold Integration tests

2015-12-18 Thread Mikhail Khludnev
fwiw, There is TestCrossCoreJoin, I'm not sure how it's useful for you. On Fri, Dec 18, 2015 at 3:25 PM, Alessandro Benedetti wrote: > Hi Guys, > was investigating a little bit about the use of the SolrJettyTestBase as I > had to run in my integration tests a multi core Solr instance ( is then t

Re: Sold Integration tests

2015-12-18 Thread Alessandro Benedetti
Hi Guys, was investigating a little bit about the use of the SolrJettyTestBase as I had to run in my integration tests a multi core Solr instance ( is then the application than applies the proper " collection" each time it uses the services ) Unfortunately the current implementation of the SolrJet

Re: Sold Integration tests

2015-12-09 Thread Andrea Gazzarini
Hi Sathyakumar, better, as the previous example talks about RDF and some other irrelevant stuff in this context: this is [1] the first chapter of my book, where I run a sample Integration test using Solr 4.10.x, and this is [2] the Github project that contains the code described in the book. HTH,

Re: Sold Integration tests

2015-12-09 Thread Andrea Gazzarini
In that case is even easier, you can use the Cargo maven plugin and failsafe. This is an example [1] but the point is: - configure Cargo to start a container (e.g. jetty, tomcat) with Solr deployed, in the pre-integration-test phase - execute any *IT test case class - stop the container in the

Re: Sold Integration tests

2015-12-09 Thread Sathyakumar Seshachalam
Hello Andrea, Thanks for the link. Am running 4.10.3. However the test-framework classes haven¹t changed much. I will give this a try. On 09/12/15, 4:11 PM, "Andrea Gazzarini" wrote: >Hi Sathyakumar, >check this post [1] (assuming you're using Solr 5.x), maybe it can help. > >Andrea > >[1] >ht

Re: Sold Integration tests

2015-12-09 Thread Andrea Gazzarini
Hi Sathyakumar, check this post [1] (assuming you're using Solr 5.x), maybe it can help. Andrea [1] http://andreagazzarini.blogspot.it/2015/10/how-to-do-integration-tests-with-solr.html 2015-12-09 11:32 GMT+01:00 Sathyakumar Seshachalam < sathyakumar_seshacha...@trimble.com>: > Are there any do

Sold Integration tests

2015-12-09 Thread Sathyakumar Seshachalam
Are there any documentations around Solr test framework. (http://mvnrepository.com/artifact/org.apache.solr/solr-test-framework) I am looking to do integration tests to just check if I am able to add document and search it via JUnitTests. There does seem to be a test-framework from solr, but th