You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Timothy Potter (Jira)" <ji...@apache.org> on 2021/02/23 20:52:00 UTC

[jira] [Commented] (SOLR-15181) TestCodecSupport.testDynamicFieldsDocValuesFormats & TestCodecSupport.testDocValuesFormats are failing

    [ https://issues.apache.org/jira/browse/SOLR-15181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17289328#comment-17289328 ] 

Timothy Potter commented on SOLR-15181:
---------------------------------------

fwiw ~ they pass with this change, but I'm not sure if that's the "right" solution here:
{code}
diff --git a/solr/core/src/test-files/solr/collection1/conf/schema_codec.xml b/solr/core/src/test-files/solr/collection1/conf/schema_codec.xml
index b8a1a0b5e56..e73b621fe63 100644
--- a/solr/core/src/test-files/solr/collection1/conf/schema_codec.xml
+++ b/solr/core/src/test-files/solr/collection1/conf/schema_codec.xml
@@ -22,7 +22,7 @@
   <fieldType name="string_direct" class="solr.StrField" postingsFormat="Direct" docValuesFormat="Asserting" />
   <fieldType name="string_standard" class="solr.StrField" postingsFormat="Lucene90"/>
 
-  <fieldType name="string_disk" class="solr.StrField" docValuesFormat="Lucene80"/>
+  <fieldType name="string_disk" class="solr.StrField" docValuesFormat="Lucene90"/>
 
   <fieldType name="string" class="solr.StrField"/>
{code}


> TestCodecSupport.testDynamicFieldsDocValuesFormats & TestCodecSupport.testDocValuesFormats are failing
> ------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-15181
>                 URL: https://issues.apache.org/jira/browse/SOLR-15181
>             Project: Solr
>          Issue Type: Test
>            Reporter: Zach Chen
>            Priority: Major
>
> I noticed two tests were consistently failing with latest head of master branch (https://github.com/apache/lucene-solr/tree/4d7b2aebfe01e2a8d0407c179238bb5e092b8d2a):
> Reproduce with 
> {code:java}
> ./gradlew clean; ./gradlew :solr:core:test --tests "org.apache.solr.core.TestCodecSupport.testDynamicFieldsDocValuesFormats" -Ptests.jvms=6 -Ptests.jvmargs=-XX:TieredStopAtLevel=1 -Ptests.seed=70C20159183C205E -Ptests.file.encoding=US-ASCII
> {code}
> Error stacktrace
> {code:java}
>  2> 3655 INFO  (TEST-TestCodecSupport.testDynamicFieldsDocValuesFormats-seed#[70C20159183C205E]) [     ] o.a.s.SolrTestCaseJ4 ###Ending testDynamicFieldsDocValuesFormats
>    >     org.junit.ComparisonFailure: expected:<Lucene[9]0> but was:<Lucene[8]0>
>    >         at __randomizedtesting.SeedInfo.seed([70C20159183C205E:90115F9F0EA2960A]:0)
>    >         at org.junit.Assert.assertEquals(Assert.java:117)
>    >         at org.junit.Assert.assertEquals(Assert.java:146)
>    >         at org.apache.solr.core.TestCodecSupport.testDynamicFieldsDocValuesFormats(TestCodecSupport.java:89)
> {code}
>  
> Reproduce with
> {code:java}
> ./gradlew clean; ./gradlew :solr:core:test --tests "org.apache.solr.core.TestCodecSupport.testDocValuesFormats" -Ptests.jvms=6 -Ptests.jvmargs=-XX:TieredStopAtLevel=1 -Ptests.seed=70C20159183C205E -Ptests.file.encoding=US-ASCII{code}
> Error stacktrace
> {code:java}
>  2> 4261 INFO  (TEST-TestCodecSupport.testDocValuesFormats-seed#[70C20159183C205E]) [     ] o.a.s.SolrTestCaseJ4 ###Ending testDocValuesFormats
>    >     org.junit.ComparisonFailure: expected:<Lucene[9]0> but was:<Lucene[8]0>
>    >         at __randomizedtesting.SeedInfo.seed([70C20159183C205E:7C99C9EBF03D80A1]:0)
>    >         at org.junit.Assert.assertEquals(Assert.java:117)
>    >         at org.junit.Assert.assertEquals(Assert.java:146)
>    >         at org.apache.solr.core.TestCodecSupport.testDocValuesFormats(TestCodecSupport.java:65)
> {code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org