madrob commented on a change in pull request #759:
URL: https://github.com/apache/solr/pull/759#discussion_r834660108



##########
File path: 
solr/test-framework/src/java/org/apache/solr/cloud/MiniSolrCloudCluster.java
##########
@@ -791,14 +791,13 @@ public JettySolrRunner getReplicaJetty(Replica replica) {
 
   /** Make the zookeeper session on a particular jetty expire */
   public void expireZkSession(JettySolrRunner jetty) {
+    ChaosMonkey.causeConnectionLoss(jetty);
+

Review comment:
       addressed in b386e144e2f

##########
File path: solr/test-framework/src/java/org/apache/solr/cloud/ChaosMonkey.java
##########
@@ -149,8 +152,7 @@ public void expireSession(final JettySolrRunner jetty) {
     if (cores != null) {
       monkeyLog("expire session for " + jetty.getLocalPort() + " !");
       causeConnectionLoss(jetty);
-      long sessionId = 
cores.getZkController().getZkClient().getSolrZooKeeper().getSessionId();
-      zkServer.expire(sessionId);
+      
cores.getZkController().getZkClient().getZooKeeper().getTestable().injectSessionExpiration();

Review comment:
       reverted in b386e144e2f




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to