Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-5799: Add assert to new test.

Mark Robert Miller254324f5a661
diff --git a/solr/solrj/src/test/org/apache/solr/common/util/TestRetryUtil.java b/solr/solrj/src/test/org/apache/solr/common/util/TestRetryUtil.java
index a807d4b131c..e7ca97394b8 100644
--- a/solr/solrj/src/test/org/apache/solr/common/util/TestRetryUtil.java
+++ b/solr/solrj/src/test/org/apache/solr/common/util/TestRetryUtil.java
@@ -78,6 +78,7 @@ public class TestRetryUtil extends SolrTestCaseJ4 {
caughtSolrException = true;
}
+ assertTrue(caughtSolrException);
assertTrue(executes3.get() > 1);
}