You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2021/02/21 17:21:27 UTC

[lucene-solr] branch reference_impl_dev updated: @1371 Test hardening.

This is an automated email from the ASF dual-hosted git repository.

markrmiller pushed a commit to branch reference_impl_dev
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/reference_impl_dev by this push:
     new d3c916c  @1371 Test hardening.
d3c916c is described below

commit d3c916cf43ccb6a62b18259ea00b79fd83fa3bdb
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Sun Feb 21 11:21:08 2021 -0600

    @1371 Test hardening.
    
    Took 9 minutes
---
 .../org/apache/solr/cloud/TestDynamicFieldNamesIndexCorrectly.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/solr/core/src/test/org/apache/solr/cloud/TestDynamicFieldNamesIndexCorrectly.java b/solr/core/src/test/org/apache/solr/cloud/TestDynamicFieldNamesIndexCorrectly.java
index 9adf0a4..e3ee69a 100644
--- a/solr/core/src/test/org/apache/solr/cloud/TestDynamicFieldNamesIndexCorrectly.java
+++ b/solr/core/src/test/org/apache/solr/cloud/TestDynamicFieldNamesIndexCorrectly.java
@@ -127,7 +127,7 @@ public class TestDynamicFieldNamesIndexCorrectly extends SolrCloudBridgeTestCase
     cloudClient.commit(COLLECTION);
   }
 
-  public static List<SolrInputDocument> generateRandomizedFieldDocuments() {
+  public List<SolrInputDocument> generateRandomizedFieldDocuments() {
     final List<SolrInputDocument> solrDocs = new ArrayList<>();
 
     final Iterator<String> iterator = FIELD_NAMES.iterator();
@@ -146,7 +146,7 @@ public class TestDynamicFieldNamesIndexCorrectly extends SolrCloudBridgeTestCase
     return solrDoc;
   }
 
-  private static final List<String> FIELD_NAMES = Arrays.asList(
+  private final List<String> FIELD_NAMES = Arrays.asList(
       new String[] {
           "name_DfsqCIYgwMpJnc_prop_s",
           "name_VHzHTZWnqGALJJ_prop_s",