Skip to content

Apache Lucene open-source search software

tests: ignore expected exceptions

Yonik Seeley73d4a3ec66c8
diff --git a/solr/src/test/org/apache/solr/schema/PolyFieldTest.java b/solr/src/test/org/apache/solr/schema/PolyFieldTest.java
index 5f82518b8be..597d8e63364 100644
--- a/solr/src/test/org/apache/solr/schema/PolyFieldTest.java
+++ b/solr/src/test/org/apache/solr/schema/PolyFieldTest.java
@@ -155,8 +155,10 @@ public class PolyFieldTest extends SolrTestCaseJ4 {
"\"//*[@numFound='2']\"");
//bad
+ ignoreException("dimension");
assertQEx("Query should throw an exception due to incorrect dimensions", req("fl", "*,score", "q",
"homed:[1 TO 2000]"), SolrException.ErrorCode.BAD_REQUEST);
+ resetExceptionIgnores();
clearIndex();
}