File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed 
test/framework/src/main/java/org/elasticsearch/index/mapper Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ documents can't be backed up incrementally.
5656===== Blocks during a force merge
5757
5858Calls to this API block until the merge is complete (unless request contains
59- wait_for_completion=false, which is default true). If the client connection
59+ ` wait_for_completion=false` , which is default ` true` ). If the client connection
6060is lost before completion then the force merge process will continue in the
6161background. Any new requests to force merge the same indices will also block
6262until the ongoing force merge is complete.
Original file line number Diff line number Diff line change @@ -377,6 +377,9 @@ tests:
377377- class : org.elasticsearch.xpack.inference.services.cohere.CohereServiceTests 
378378  method : testInfer_StreamRequest 
379379  issue : https://github.com/elastic/elasticsearch/issues/114385 
380+ - class : org.elasticsearch.index.mapper.extras.ScaledFloatFieldMapperTests 
381+   method : testSyntheticSourceKeepArrays 
382+   issue : https://github.com/elastic/elasticsearch/issues/114406 
380383
381384#  Examples:
382385# 
Original file line number Diff line number Diff line change @@ -1570,7 +1570,7 @@ public void testSyntheticSourceKeepArrays() throws IOException {
15701570            b .endObject ();
15711571        }));
15721572
1573-         int  elementCount  = randomIntBetween (1 , 5 );
1573+         int  elementCount  = randomIntBetween (2 , 5 );
15741574        CheckedConsumer <XContentBuilder , IOException > buildInput  = (XContentBuilder  builder ) -> {
15751575            example .buildInputArray (builder , elementCount );
15761576        };
@@ -1581,10 +1581,7 @@ public void testSyntheticSourceKeepArrays() throws IOException {
15811581        builder .endObject ();
15821582        String  expected  = Strings .toString (builder );
15831583        String  actual  = syntheticSource (mapperAll , buildInput );
1584-         // Check for single-element array, the array source is not stored in this case. 
1585-         if  (expected .replace ("[" , "" ).replace ("]" , "" ).equals (actual ) == false ) {
1586-             assertThat (actual , equalTo (expected ));
1587-         }
1584+         assertThat (actual , equalTo (expected ));
15881585    }
15891586
15901587    @ Override 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments