Skip to content

Apache Lucene open-source search software

SOLR-5623: revert r1564739, shalin already fixed the bug that caused these failures, but Uwe didn't know that

Chris M. Hostetterad2a7568f555
diff --git a/solr/core/src/test/org/apache/solr/BasicFunctionalityTest.java b/solr/core/src/test/org/apache/solr/BasicFunctionalityTest.java
index a2b90c0c888..cfeda9b9228 100644
--- a/solr/core/src/test/org/apache/solr/BasicFunctionalityTest.java
+++ b/solr/core/src/test/org/apache/solr/BasicFunctionalityTest.java
@@ -345,7 +345,7 @@ public class BasicFunctionalityTest extends SolrTestCaseJ4 {
}
- @Test @Ignore("Please fix me!")
+ @Test
public void testClientErrorOnMalformedNumbers() throws Exception {
final String BAD_VALUE = "NOT_A_NUMBER";
diff --git a/solr/core/src/test/org/apache/solr/handler/JsonLoaderTest.java b/solr/core/src/test/org/apache/solr/handler/JsonLoaderTest.java
index 1a6ccb72729..36ec068bddb 100644
--- a/solr/core/src/test/org/apache/solr/handler/JsonLoaderTest.java
+++ b/solr/core/src/test/org/apache/solr/handler/JsonLoaderTest.java
@@ -31,7 +31,6 @@ import org.apache.solr.update.DeleteUpdateCommand;
import org.apache.solr.update.processor.BufferingRequestProcessor;
import org.junit.BeforeClass;
import org.junit.Test;
-import org.junit.Ignore;
import org.xml.sax.SAXException;
import java.math.BigDecimal;
@@ -392,7 +391,7 @@ public class JsonLoaderTest extends SolrTestCaseJ4 {
}
- @Test @Ignore("Please fix me!")
+ @Test
public void testAddBigIntegerValueToTrieField() throws Exception {
// Adding a BigInteger to a long field should fail
// BigInteger.longValue() returns only the low-order 64 bits.
diff --git a/solr/core/src/test/org/apache/solr/search/TestSolr4Spatial.java b/solr/core/src/test/org/apache/solr/search/TestSolr4Spatial.java
index a9981a81fd3..f1ae0f150c8 100644
--- a/solr/core/src/test/org/apache/solr/search/TestSolr4Spatial.java
+++ b/solr/core/src/test/org/apache/solr/search/TestSolr4Spatial.java
@@ -35,7 +35,6 @@ import org.apache.solr.util.SpatialUtils;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
-import org.junit.Ignore;
import java.text.ParseException;
import java.util.Arrays;
@@ -72,7 +71,7 @@ public class TestSolr4Spatial extends SolrTestCaseJ4 {
assertU(commit());
}
- @Test @Ignore("Please fix me!")
+ @Test
public void testBadShapeParse400() {
assertQEx(null, req(
"fl", "id," + fieldName, "q", "*:*", "rows", "1000",