From 7ce145de869a40bc6639e1cca129233b290029e8 Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Thu, 14 Oct 2010 00:52:11 +0000 Subject: [PATCH] fix LB tests for those with ISPs that never fail DNS lookups git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1022335 13f79535-47bb-0310-9956-ffa450edef68 --- .../test/org/apache/solr/BaseDistributedSearchTestCase.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/solr/src/test/org/apache/solr/BaseDistributedSearchTestCase.java b/solr/src/test/org/apache/solr/BaseDistributedSearchTestCase.java index 92ea4c9f631..2b7ab0faad3 100644 --- a/solr/src/test/org/apache/solr/BaseDistributedSearchTestCase.java +++ b/solr/src/test/org/apache/solr/BaseDistributedSearchTestCase.java @@ -55,7 +55,9 @@ public abstract class BaseDistributedSearchTestCase extends SolrTestCaseJ4 { protected String context = "/solr"; protected String shards; protected String[] shardsArr; - protected String[] deadServers = {"does_not_exist_54321.com:33331/solr","localhost:33332/solr"}; + // Some ISPs redirect to their own web site for domains that don't exist, causing this to fail + // protected String[] deadServers = {"does_not_exist_54321.com:33331/solr","localhost:33332/solr"}; + protected String[] deadServers = {"localhost:33332/solr"}; protected File testDir; protected SolrServer controlClient;