You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by ma...@apache.org on 2010/01/19 17:58:55 UTC

svn commit: r900846 - /lucene/solr/branches/cloud/src/test/org/apache/solr/cloud/ZkSolrClientTest.java

Author: markrmiller
Date: Tue Jan 19 16:58:55 2010
New Revision: 900846

URL: http://svn.apache.org/viewvc?rev=900846&view=rev
Log:
add comments

Modified:
    lucene/solr/branches/cloud/src/test/org/apache/solr/cloud/ZkSolrClientTest.java

Modified: lucene/solr/branches/cloud/src/test/org/apache/solr/cloud/ZkSolrClientTest.java
URL: http://svn.apache.org/viewvc/lucene/solr/branches/cloud/src/test/org/apache/solr/cloud/ZkSolrClientTest.java?rev=900846&r1=900845&r2=900846&view=diff
==============================================================================
--- lucene/solr/branches/cloud/src/test/org/apache/solr/cloud/ZkSolrClientTest.java (original)
+++ lucene/solr/branches/cloud/src/test/org/apache/solr/cloud/ZkSolrClientTest.java Tue Jan 19 16:58:55 2010
@@ -80,6 +80,7 @@
 
       zkClient.makePath("collections/collection1/config=collection1");
       
+      // this tests disconnect state
       server.shutdown();
       
       Thread.sleep(80);
@@ -107,6 +108,8 @@
       assertNotNull(zkClient.exists("/collections/collection1/config=collection3", null));
       assertNotNull(zkClient.exists("/collections/collection1/config=collection1", null));
       
+      //this tests expired state
+      
       // cause expiration
       for(int i = 0; i < 1000; i++) {
         System.gc();