Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-14465

Reproducing seed in FuzzySearchTest

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: master (9.0)
    • Fix Version/s: 8.5.2, 8.6, master (9.0)
    • Component/s: Tests
    • Labels:
      None

      Description

      reproduce with: ant test -Dtestcase=FuzzySearchTest -Dtests.method=testTooComplex -Dtests.seed=B6A1F20B2D413B4 -Dtests.multiplier=2 -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=yue-Hant-HK -Dtests.timezone=America/Dawson -Dtests.asserts=true -Dtests.file.encoding=UTF-8

       

      Alan Woodward Mike Drob  My guess is that changes in LUCENE-9350/LUCENE-9068 changed the exception returned, but haven't looked very closely.

      [junit4] FAILURE 3.01s | FuzzySearchTest.testTooComplex <<<
      [junit4] > Throwable #1: junit.framework.AssertionFailedError: Unexpected exception type, expected RemoteSolrException but got org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request:http://127.0.0.1:51202/solr/c1
      [junit4] > at __randomizedtesting.SeedInfo.seed([B6A1F20B2D413B4:DDC85504AD0720FE]:0)
      [junit4] > at org.apache.lucene.util.LuceneTestCase.expectThrows(LuceneTestCase.java:2751)
      [junit4] > at org.apache.lucene.util.LuceneTestCase.expectThrows(LuceneTestCase.java:2739)
      [junit4] > at org.apache.solr.search.FuzzySearchTest.testTooComplex(FuzzySearchTest.java:64)
      [junit4] > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [junit4] > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [junit4] > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [junit4] > at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      [junit4] > at java.base/java.lang.Thread.run(Thread.java:834)
      [junit4] > Caused by: org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request:http://127.0.0.1:51202/solr/c1
      [junit4] > at org.apache.solr.client.solrj.impl.LBSolrClient.request(LBSolrClient.java:345)
      [junit4] > at org.apache.solr.client.solrj.impl.BaseCloudSolrClient.sendRequest(BaseCloudSolrClient.java:1147)
      [junit4] > at org.apache.solr.client.solrj.impl.BaseCloudSolrClient.requestWithRetryOnStaleState(BaseCloudSolrClient.java:910)
      [junit4] > at org.apache.solr.client.solrj.impl.BaseCloudSolrClient.request(BaseCloudSolrClient.java:842)
      [junit4] > at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:207)
      [junit4] > at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:1004)
      [junit4] > at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:1019)
      [junit4] > at org.apache.solr.search.FuzzySearchTest.lambda$testTooComplex$0(FuzzySearchTest.java:64)
      [junit4] > at org.apache.lucene.util.LuceneTestCase._expectThrows(LuceneTestCase.java:2869)
      [junit4] > at org.apache.lucene.util.LuceneTestCase.expectThrows(LuceneTestCase.java:2744)
      [junit4] > ... 41 more
      [junit4] > Caused by: org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException: Error from server at http://127.0.0.1:51202/solr/c1: Term too complex: headquarters(在日米海軍横須賀基地司令部庁舎/旧横須賀鎮守府会議所・横須賀海軍艦船部)
      [junit4] > at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:665)
      [junit4] > at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:265)
      [junit4] > at org.apache.solr.client.solrj.impl.HttpSolrClient.request(

        Attachments

          Activity

            People

            • Assignee:
              mdrob Mike Drob
              Reporter:
              erickerickson Erick Erickson
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: