File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/action Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -519,15 +519,14 @@ static EsqlQueryResponse fromXContent(XContentParser parser) {
519519 }
520520
521521 public void testChunkResponseSizeColumnar () {
522+ int sizeClusterDetails = 14 ;
522523 try (EsqlQueryResponse resp = randomResponse (true , null )) {
523- int sizeClusterDetails = 14 ;
524524 int columnCount = resp .pages ().get (0 ).getBlockCount ();
525525 int bodySize = resp .pages ().stream ().mapToInt (p -> p .getPositionCount () * p .getBlockCount ()).sum () + columnCount * 2 ;
526526 assertChunkCount (resp , r -> 5 + sizeClusterDetails + bodySize );
527527 }
528528
529529 try (EsqlQueryResponse resp = randomResponseAsync (true , null , true )) {
530- int sizeClusterDetails = resp .isRunning () ? 13 : 14 ; // overall took time not present when is_running=true
531530 int columnCount = resp .pages ().get (0 ).getBlockCount ();
532531 int bodySize = resp .pages ().stream ().mapToInt (p -> p .getPositionCount () * p .getBlockCount ()).sum () + columnCount * 2 ;
533532 assertChunkCount (resp , r -> 7 + sizeClusterDetails + bodySize ); // is_running
You can’t perform that action at this time.
0 commit comments