From b5308c322c71a8fd13a39f686930fd4735c55cdd Mon Sep 17 00:00:00 2001 From: Tim Brooks Date: Thu, 29 Aug 2024 18:32:46 -0600 Subject: [PATCH] Fix --- .../elasticsearch/rest/action/document/RestBulkActionTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/test/java/org/elasticsearch/rest/action/document/RestBulkActionTests.java b/server/src/test/java/org/elasticsearch/rest/action/document/RestBulkActionTests.java index 0060b306f1018..66c6660226ab0 100644 --- a/server/src/test/java/org/elasticsearch/rest/action/document/RestBulkActionTests.java +++ b/server/src/test/java/org/elasticsearch/rest/action/document/RestBulkActionTests.java @@ -245,7 +245,7 @@ public void next() { RestBulkAction.ChunkHandler chunkHandler = new RestBulkAction.ChunkHandler( true, request, - () -> new IncrementalBulkService.Handler(null, null, null, null, null, null) { + () -> new IncrementalBulkService.Handler(null, new ThreadContext(Settings.EMPTY), null, null, null, null) { @Override public void addItems(List> items, Releasable releasable, Runnable nextItems) {