You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2016/10/18 08:49:58 UTC

[jira] [Updated] (SOLR-9656) Add optional proxies to MiniSolrCloudCluster

     [ https://issues.apache.org/jira/browse/SOLR-9656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Woodward updated SOLR-9656:
--------------------------------
    Attachment: SOLR-9656.patch

Patch, adding an additional boolean flag to the MiniSolrCloudCluster constructor, and re-arranging the start and stopJettyRunner methods so that they all go through the same proxy code.

It also adds methods to MiniSolrCloudCluster to get the SocketProxy for a given jetty, and to create an HttpSolrClient for a particular jetty, taking into account proxy settings.

> Add optional proxies to MiniSolrCloudCluster
> --------------------------------------------
>
>                 Key: SOLR-9656
>                 URL: https://issues.apache.org/jira/browse/SOLR-9656
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>         Attachments: SOLR-9656.patch
>
>
> Several tests use SocketProxy objects to simulate network partitions.  This issue adds an option to MiniSolrCloudCluster to install these proxies in front of its internal jetties, which will allow SolrCloudTestCase to use this functionality.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org