Also, tests sometimes fail with:
org.apache.solr.common.SolrException: No registered leader was found after 
waiting for 10000ms , collection: collection1 slice: shard1

Despite having waitForThingsToLevelOut(45);

If anyone has a suggestion for this as well, it would be much appreciated :)

Markus
 
 
-----Original message-----
> From:Markus Jelsma <markus.jel...@openindex.io>
> Sent: Thursday 26th May 2016 11:37
> To: solr-user <solr-user@lucene.apache.org>
> Subject: Unit tests, Session expired for ...state.json in 
> AbstractFullDistribZkTestBase
> 
> Hi,
> 
> We have a bunch of tests extending AbstractFullDistribZkTestBase on 6.0 and 
> our builds sometimes fail with the following message:
> 
> org.apache.solr.common.SolrException: Could not load collection from ZK: 
> collection1 
> at io.....
> Caused by: org.apache.zookeeper.KeeperException$SessionExpiredException: 
> KeeperErrorCode = Session expired for /collections/collection1/state.json 
> at io....
> 
> Strange thing is, the line where it failed is after 
> waitForThingsToLevelOut(45); and waitForRecoveriesToFinish(false); ánd having 
> indexed a few thousand documents! These sporadic failures are a nuisance 
> because it raises red flags in our Jenkins. Is there anything we can do to 
> prevent these things from happening? 
> 
> Many thanks!
> Markus
> 

Reply via email to