Skip to content

Commit 2936deb

Browse files
committed
Comment
1 parent a145b44 commit 2936deb

File tree

1 file changed

+2
-0
lines changed
  • server/src/internalClusterTest/java/org/elasticsearch/action/admin/cluster/node/tasks

1 file changed

+2
-0
lines changed

server/src/internalClusterTest/java/org/elasticsearch/action/admin/cluster/node/tasks/TasksIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,8 @@ public void testSearchTaskDescriptions() {
379379
// check that if we have any shard-level requests they all have non-zero length description
380380
List<TaskInfo> shardTasks = findEvents(TransportSearchAction.TYPE.name() + "[*]", Tuple::v1);
381381
for (TaskInfo taskInfo : shardTasks) {
382+
// During batched query execution, if a partial reduction was done on the data node, a task will be created to free the reader.
383+
// These tasks don't have descriptions or parent tasks, so they're ignored for this test.
382384
if (taskInfo.action().equals(FREE_CONTEXT_SCROLL_ACTION_NAME)) {
383385
continue;
384386
}

0 commit comments

Comments
 (0)