Skip to content

Apache Lucene open-source search software

Include time unit in SolrCLI's TimeoutException wording.

Christine Poerschke2d074399e8a9
diff --git a/solr/core/src/java/org/apache/solr/util/SolrCLI.java b/solr/core/src/java/org/apache/solr/util/SolrCLI.java
index 0f7b3e899f4..a263693ad69 100755
--- a/solr/core/src/java/org/apache/solr/util/SolrCLI.java
+++ b/solr/core/src/java/org/apache/solr/util/SolrCLI.java
@@ -1311,7 +1311,7 @@ public class SolrCLI implements CLIO {
}
}
}
- throw new TimeoutException("Did not see Solr at "+solrUrl+" come online within "+maxWaitSecs);
+ throw new TimeoutException("Did not see Solr at "+solrUrl+" come online within "+maxWaitSecs+" seconds!");
}
public Map<String,Object> getStatus(String solrUrl) throws Exception {