[
https://issues.apache.org/jira/browse/SOLR-4189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uwe Schindler updated SOLR-4189:
--------------------------------
Attachment: SOLR-4189.patch
Thanks Steven, I folded that into the new patch. I also made the pass-through
to the artifact:mvn ANT task working.
Really cool is syspropertyset with a <propertyref builtin="commandline"/>! We
could also use this in the main test target to pass-through everything from
commandline to the test JVMs...
I will commit that a little bit later and reconfigure Jenkins to run all tests.
> Fix hanging threads on FreeBSD in JettySolrRunner by making connector
> configureable through sysprop
> ---------------------------------------------------------------------------------------------------
>
> Key: SOLR-4189
> URL: https://issues.apache.org/jira/browse/SOLR-4189
> Project: Solr
> Issue Type: Bug
> Components: Tests
> Reporter: Uwe Schindler
> Assignee: Uwe Schindler
> Fix For: 4.1, 5.0
>
> Attachments: SOLR-4189.patch, SOLR-4189.patch, SOLR-4189.patch
>
>
> Currently on FreeBSD we run no Solr tests, because the
> SelectChannelConnector, recently used for Solr's JettySolrRunner seems to
> linger threads, which may be caused by the blackhole or more likely a JVM bug.
> This patch allows to configure the connector for the testMode Jetty in
> embedded Solr through a sysprop:
> {noformat}
> ant test -Dtests.jettyConnector=Socket
> ant test -Dtests.jettyConnector=SelectChannel
> {noformat}
> The default is SelectChannel. On FreeBSD Jenkins I would pass this as
> property to ANT through Jenkins config (where currently the tests are
> disabled). On Maven this should also be possible (Steven?).
> The patch also binds the test-mode jetty to 127.0.0.1 to prevent windows
> firewall from popping up all the time, because Solr binds to internet. For
> tests, the emebedded Jetty should never run on all interfaces (0.0.0.0).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]