From 3692fc38c50ce617318238b6c9b5f7d6920a4354 Mon Sep 17 00:00:00 2001 From: Santhosh Gandhe <1909520+san81@users.noreply.github.com> Date: Mon, 27 Jan 2025 19:07:51 -0800 Subject: [PATCH] disabling caffine cache instead of setting the max to 1 (#5362) Signed-off-by: Santhosh Gandhe <1909520+san81@users.noreply.github.com> --- .../plugins/processor/oteltrace/OTelTraceRawProcessorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-prepper-plugins/otel-trace-raw-processor/src/test/java/org/opensearch/dataprepper/plugins/processor/oteltrace/OTelTraceRawProcessorTest.java b/data-prepper-plugins/otel-trace-raw-processor/src/test/java/org/opensearch/dataprepper/plugins/processor/oteltrace/OTelTraceRawProcessorTest.java index 623a2c9cae..9163aad322 100644 --- a/data-prepper-plugins/otel-trace-raw-processor/src/test/java/org/opensearch/dataprepper/plugins/processor/oteltrace/OTelTraceRawProcessorTest.java +++ b/data-prepper-plugins/otel-trace-raw-processor/src/test/java/org/opensearch/dataprepper/plugins/processor/oteltrace/OTelTraceRawProcessorTest.java @@ -252,7 +252,7 @@ void testMetricsOnSpanSet() { @ParameterizedTest @CsvSource({ - "1, 4", + "0, 4", "2, 6" }) void traceGroupCacheMaxSize_provides_an_upper_bound(final long cacheMaxSize, final int expectedProcessedRecords) {