Test failure is fixed now
https://github.com/apache/lucene-solr/commit/514c4b1e491c1c93b7b928731437dcbe932237f9

Thanks,
Munendra S N



On Fri, Jan 8, 2021 at 12:00 AM Munendra S N <sn.munendr...@gmail.com>
wrote:

> I'm looking into this
>
> Regards,
> Munendra S N
>
>
>
> On Thu, Jan 7, 2021 at 11:54 PM Chris Hostetter <hossman_luc...@fucit.org>
> wrote:
>
>>
>> : WHen I try your exact repro line (along with the method name), I get:
>> : BUILD FAILED
>> : /home/ishan/code/lucene-solr/lucene/common-build.xml:1616: Not even a
>> : single test was executed (a typo in the filter pattern maybe?).
>>
>> your repo is stale Ishan -- it's a test that was committed today...
>>
>> https://issues.apache.org/jira/browse/SOLR-14950
>>
>>
>> : On Thu, Jan 7, 2021 at 11:09 PM Timothy Potter <thelabd...@apache.org>
>> : wrote:
>> :
>> : > This test seems to fail consistently for me on 8x:
>> : >
>> : >
>> : > org.apache.solr.rest.schema.TestBulkSchemaAPI.testCopyFieldWithReplace
>> : >
>> : >
>> : > NOTE: reproduce with: ant test  -Dtestcase=TestBulkSchemaAPI
>> : > -Dtests.method=testCopyFieldWithReplace -Dtests.seed=7657D4FA16A76DC8
>> : > -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=es-UY
>> : > -Dtests.timezone=America/Resolute -Dtests.asserts=true
>> : > -Dtests.file.encoding=UTF-8
>> : >
>> : > java.lang.AssertionError: {
>> : >   "responseHeader":{
>> : >     "status":400,
>> : >     "QTime":6},
>> : >   "error":{
>> : >     "metadata":[
>> : >
>>  "error-class","org.apache.solr.api.ApiBag$ExceptionWithErrObject",
>> : >
>> : >
>> "root-error-class","org.apache.solr.api.ApiBag$ExceptionWithErrObject"],
>> : >     "details":[{
>> : >         "add-field-type":{
>> : >           "name":"myNewTextField",
>> : >           "class":"solr.TextField",
>> : >           "analyzer":{
>> : >             "charFilters":[{
>> : >                 "name":"patternReplace",
>> : >                 "replacement":"$1$1",
>> : >                 "pattern":"([a-zA-Z])\\\\1+"}],
>> : >             "tokenizer":{"name":"whitespace"},
>> : >             "filters":[{"name":"asciiFolding"}]}},
>> : >         "errorMessages":["Every charFilter must define a class
>> : > property!\n"]}],
>> : >     "msg":"error processing commands",
>> : >     "code":400}}
>> : >  expected null, but was:<{metadata=[error-class,
>> : > org.apache.solr.api.ApiBag$ExceptionWithErrObject, root-error-class,
>> : > org.apache.solr.api.ApiBag$ExceptionWithErrObject],
>> : > details=[{add-field-type={name=myNewTextField, class=solr.TextField,
>> : > analyzer={charFilters=[{name=patternReplace, replacement=$1$1,
>> : > pattern=([a-zA-Z])\\1+}], tokenizer={name=whitespace},
>> : > filters=[{name=asciiFolding}]}}, errorMessages=[Every charFilter must
>> : > define a class property!
>> : > ]}], msg=error processing commands, code=400}>
>> : >
>> : > at
>> __randomizedtesting.SeedInfo.seed([7657D4FA16A76DC8:B096864C3F5D3F33]:0)
>> : > at org.junit.Assert.fail(Assert.java:89)
>> : > at org.junit.Assert.failNotNull(Assert.java:756)
>> : > at org.junit.Assert.assertNull(Assert.java:738)
>> : > at
>> : >
>> org.apache.solr.rest.schema.TestBulkSchemaAPI.testCopyFieldWithReplace(TestBulkSchemaAPI.java:734)
>> : > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> : > at
>> : >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>> : > at
>> : >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> : > at java.lang.reflect.Method.invoke(Method.java:498)
>> : >
>> :
>>
>> -Hoss
>> http://www.lucidworks.com/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
>> For additional commands, e-mail: dev-h...@lucene.apache.org
>>
>>

Reply via email to