lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject [3/5] lucene-solr:master: SOLR-12801: Harden InfixSuggestersTest#testShutdownDuringBuild.
Date Tue, 11 Dec 2018 14:58:56 GMT
SOLR-12801: Harden InfixSuggestersTest#testShutdownDuringBuild.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/a25ddcd4
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/a25ddcd4
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/a25ddcd4

Branch: refs/heads/master
Commit: a25ddcd4f3df0f09509d1b36f843e5530b57b342
Parents: 874937a
Author: markrmiller <markrmiller@apache.org>
Authored: Tue Dec 11 06:35:19 2018 -0600
Committer: markrmiller <markrmiller@apache.org>
Committed: Tue Dec 11 08:58:42 2018 -0600

----------------------------------------------------------------------
 .../org/apache/solr/handler/component/InfixSuggestersTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/a25ddcd4/solr/core/src/test/org/apache/solr/handler/component/InfixSuggestersTest.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/handler/component/InfixSuggestersTest.java
b/solr/core/src/test/org/apache/solr/handler/component/InfixSuggestersTest.java
index 7971bf0..b1b02e1 100644
--- a/solr/core/src/test/org/apache/solr/handler/component/InfixSuggestersTest.java
+++ b/solr/core/src/test/org/apache/solr/handler/component/InfixSuggestersTest.java
@@ -122,7 +122,7 @@ public class InfixSuggestersTest extends SolrTestCaseJ4 {
     try {
       LinkedHashMap<Class<? extends Throwable>, List<Class<? extends Throwable>>>
expected = new LinkedHashMap<>();
       expected.put(RuntimeException.class, Arrays.asList
-          (SolrCoreState.CoreIsClosedException.class, SolrException.class, IllegalStateException.class));
+          (SolrCoreState.CoreIsClosedException.class, SolrException.class, IllegalStateException.class,
NullPointerException.class));
       final Throwable[] outerException = new Throwable[1];
       // Build the suggester in the background with a long dictionary
       Future job = executor.submit(() -> outerException[0] = expectThrowsAnyOf(expected,


Mime
View raw message