[ https://issues.apache.org/jira/browse/SOLR-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13766827#comment-13766827 ]
Hoss Man commented on SOLR-5241: -------------------------------- bq. maybe that fake:// protocol handler is actually a sensible idea for such tests. I'm not sure, but i think the URL class would still try to resolve the hostname portion of the URL, even if we registered our own fake protocol. --- I really don't see how the blackhole could affect this even if it did block dns lookups, since no lookup should ever happen with an ip specified, but if it does then i think the whole test just needs re-written not to use the URL class. > SimplePostToolTest is slow on some systmes - likely due to hostname > resolution of "example.com" > ----------------------------------------------------------------------------------------------- > > Key: SOLR-5241 > URL: https://issues.apache.org/jira/browse/SOLR-5241 > Project: Solr > Issue Type: Bug > Reporter: Hoss Man > Assignee: Hoss Man > Attachments: SOLR-5241.patch > > > As noted by Shai on the dev @lucene list, SimplePostToolTest is ridiculously > slow when he ran from ant, but only takes 1 second in his IDE. > problem seems to be relate to the URL class attempting to response > "example.com" -- 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org