From ed1db6d20a6dbd30ec0f2b3d2354eb4d61c630a9 Mon Sep 17 00:00:00 2001 From: jbernste Date: Fri, 6 May 2016 08:24:00 -0400 Subject: [PATCH] SOLR-8972: Fix MinimalSchemaTest and SolrCoreTest --- solr/core/src/test/org/apache/solr/MinimalSchemaTest.java | 1 + solr/core/src/test/org/apache/solr/core/SolrCoreTest.java | 1 + 2 files changed, 2 insertions(+) diff --git a/solr/core/src/test/org/apache/solr/MinimalSchemaTest.java b/solr/core/src/test/org/apache/solr/MinimalSchemaTest.java index 1ee3269fc2c..4926dd463ac 100644 --- a/solr/core/src/test/org/apache/solr/MinimalSchemaTest.java +++ b/solr/core/src/test/org/apache/solr/MinimalSchemaTest.java @@ -112,6 +112,7 @@ public class MinimalSchemaTest extends SolrTestCaseJ4 { handler.startsWith("/config") || handler.startsWith("/mlt") || handler.startsWith("/export") || + handler.startsWith("/graph") || handler.startsWith("/sql") || handler.startsWith("/stream") ) { diff --git a/solr/core/src/test/org/apache/solr/core/SolrCoreTest.java b/solr/core/src/test/org/apache/solr/core/SolrCoreTest.java index 9e6029abe4b..2dfe025af6f 100644 --- a/solr/core/src/test/org/apache/solr/core/SolrCoreTest.java +++ b/solr/core/src/test/org/apache/solr/core/SolrCoreTest.java @@ -101,6 +101,7 @@ public class SolrCoreTest extends SolrTestCaseJ4 { ++ihCount; assertEquals(pathToClassMap.get("/schema"), "solr.SchemaHandler"); ++ihCount; assertEquals(pathToClassMap.get("/sql"), "solr.SQLHandler"); ++ihCount; assertEquals(pathToClassMap.get("/stream"), "solr.StreamHandler"); + ++ihCount; assertEquals(pathToClassMap.get("/graph"), "solr.GraphHandler"); ++ihCount; assertEquals(pathToClassMap.get("/update"), "solr.UpdateRequestHandler"); ++ihCount; assertEquals(pathToClassMap.get("/update/csv"), "solr.UpdateRequestHandler"); ++ihCount; assertEquals(pathToClassMap.get("/update/json"), "solr.UpdateRequestHandler");