From 511c15405dc6c5ffa2a6e72e97032130c7aad954 Mon Sep 17 00:00:00 2001 From: Keith Massey Date: Wed, 3 Jan 2024 10:13:25 -0600 Subject: [PATCH] fixing TransportShardBulkActionTests --- .../elasticsearch/action/bulk/TransportShardBulkActionTests.java | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/test/java/org/elasticsearch/action/bulk/TransportShardBulkActionTests.java b/server/src/test/java/org/elasticsearch/action/bulk/TransportShardBulkActionTests.java index 8811c5f077e00..b9175437d08a4 100644 --- a/server/src/test/java/org/elasticsearch/action/bulk/TransportShardBulkActionTests.java +++ b/server/src/test/java/org/elasticsearch/action/bulk/TransportShardBulkActionTests.java @@ -1246,6 +1246,7 @@ public void testNoopMappingUpdateSuccessOnRetry() throws Exception { latch.await(); verify(mapperService, times(2)).merge(any(), any(CompressedXContent.class), any()); + bulkShardRequest.decRef(); } private IndexShard mockShard() {