murblanc commented on a change in pull request #1504:
URL: https://github.com/apache/lucene-solr/pull/1504#discussion_r428457444



##########
File path: 
solr/solrj/src/test/org/apache/solr/client/solrj/cloud/autoscaling/TestPolicy.java
##########
@@ -1709,13 +1708,134 @@ public DistribStateManager getDistribStateManager() {
     assertEquals(2, s1.getRefCount());
 
     s2[0].release();
-    assertFalse(sessionRef.getSessionWrapper() == 
PolicyHelper.SessionWrapper.DEFAULT_INSTANCE);
+    assertFalse(sessionRef.isEmpty());
     s1.release();
-    assertTrue(sessionRef.getSessionWrapper() == 
PolicyHelper.SessionWrapper.DEFAULT_INSTANCE);
+    assertTrue(sessionRef.isEmpty());
 
 
   }
 
+  @Test

Review comment:
       Yes. Not sure it's worth it. We'll see what others think.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to