You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2012/01/11 23:06:36 UTC

svn commit: r1230278 - /lucene/dev/branches/solrcloud/solr/core/src/test/org/apache/solr/cloud/ChaosMonkey.java

Author: markrmiller
Date: Wed Jan 11 22:06:36 2012
New Revision: 1230278

URL: http://svn.apache.org/viewvc?rev=1230278&view=rev
Log:
add another jetty stop in the case we still can't re get the port

Modified:
    lucene/dev/branches/solrcloud/solr/core/src/test/org/apache/solr/cloud/ChaosMonkey.java

Modified: lucene/dev/branches/solrcloud/solr/core/src/test/org/apache/solr/cloud/ChaosMonkey.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/solrcloud/solr/core/src/test/org/apache/solr/cloud/ChaosMonkey.java?rev=1230278&r1=1230277&r2=1230278&view=diff
==============================================================================
--- lucene/dev/branches/solrcloud/solr/core/src/test/org/apache/solr/cloud/ChaosMonkey.java (original)
+++ lucene/dev/branches/solrcloud/solr/core/src/test/org/apache/solr/cloud/ChaosMonkey.java Wed Jan 11 22:06:36 2012
@@ -347,6 +347,7 @@ public class ChaosMonkey {
                      jetty.start();
                    } catch (BindException e3) {
                      // we coud not get the port
+                     jetty.stop();
                      continue;
                    }
                  }