Hi,

I wanted to take a look at the flaky DeleteReplicaTest test.

Some background first:
- Past 7 days trend:
Class: org.apache.solr.cloud.DeleteReplicaTest
Method: raceConditionOnDeleteAndRegisterReplica
Failures: 15.56% (63 / 405)

- Test failure is caused by a NullPointerException:
ERROR (coreZkRegister-772-thread-1-processing-127.0.0.1:40471_solr)
[n:127.0.0.1:40471_solr c:raceDeleteReplicaCollection s:shard1 r:core_node4
x:raceDeleteReplicaCollection_shard1_replica_n2] o.a.s.c.DeleteReplicaTest
Failed to delete replica
 => java.lang.NullPointerException: Cannot invoke
"org.apache.solr.core.CoreContainer.getZkController()" because the return
value of "org.apache.solr.embedded.JettySolrRunner.getCoreContainer()" is
null

I am having some trouble reproducing on my local and I don't see how the
getCoreContainer() method might return null. Could this be a timing issue
somehow?
If anyone has an idea on how to approach this, I would be happy to hear it.

best,
alex

Reply via email to