RE: Trouble making tests with BaseDistributedSearchTestCase

2015-09-08 Thread Markus Jelsma
on that? Issue created: https://issues.apache.org/jira/browse/SOLR-8018 -Original message- > From:Chris Hostetter > Sent: Saturday 5th September 2015 2:23 > To: solr-user@lucene.apache.org > Subject: RE: Trouble making tests with BaseDistributedSearchTestCase > > : S

RE: Trouble making tests with BaseDistributedSearchTestCase

2015-09-04 Thread Chris Hostetter
: Strange enough, the following code gives different errors: : : assertQ( I'm not sure what exactly assertQ will do in a distributed test like this ... probably nothing good. you'll almost certainly want to stick with the distributed indexDoc() and query* methods and avoid assertU and as

RE: Trouble making tests with BaseDistributedSearchTestCase

2015-09-04 Thread Markus Jelsma
ss.query(TestHarness.java:302) at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:739) at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:732) Also, this is on Solr 5.3.0. Many thanks! Markus -Original message- > From:Markus Jelsma > Sent: Friday

Trouble making tests with BaseDistributedSearchTestCase

2015-09-04 Thread Markus Jelsma
Hello - i am trying to create some tests using BaseDistributedSearchTestCase but two errors usually appear. Consider the following test: @Test @ShardsFixed(num = 3) public void test() throws Exception { del("*:*"); index(id, "1", "lang", "en", "text", "this is some text"); inde