From dff83cd251512499d6f97c334df5c6e9b4671ac1 Mon Sep 17 00:00:00 2001 From: Kaushal Kumar Date: Fri, 21 Jun 2024 14:05:07 -0700 Subject: [PATCH] fix compilation error Signed-off-by: Kaushal Kumar --- .../search/backpressure/SearchBackpressureServiceTests.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/src/test/java/org/opensearch/search/backpressure/SearchBackpressureServiceTests.java b/server/src/test/java/org/opensearch/search/backpressure/SearchBackpressureServiceTests.java index d5194df5dfb41..26ec76d5b7f50 100644 --- a/server/src/test/java/org/opensearch/search/backpressure/SearchBackpressureServiceTests.java +++ b/server/src/test/java/org/opensearch/search/backpressure/SearchBackpressureServiceTests.java @@ -469,7 +469,6 @@ public void testNonCancellationOfHeapBasedTasksWhenHeapNotInDuress() { new SearchTaskStats( 5, 1, - 0, Map.of( TaskResourceUsageTrackerType.CPU_USAGE_TRACKER, new MockStats(5), @@ -477,7 +476,7 @@ public void testNonCancellationOfHeapBasedTasksWhenHeapNotInDuress() { new MockStats(0) ) ), - new SearchShardTaskStats(0, 0, 0, Collections.emptyMap()), + new SearchShardTaskStats(0, 0, Collections.emptyMap()), SearchBackpressureMode.ENFORCED );