From 2e5d85c2231342dcac0034b93933f0bd969b1b13 Mon Sep 17 00:00:00 2001 From: Aditya Ujeniya Date: Fri, 27 Feb 2026 15:09:06 +0100 Subject: [PATCH] Udpate testcase --- pkg/metricstore/metricstore_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/metricstore/metricstore_test.go b/pkg/metricstore/metricstore_test.go index 55c97e60..772fd7ea 100644 --- a/pkg/metricstore/metricstore_test.go +++ b/pkg/metricstore/metricstore_test.go @@ -489,7 +489,7 @@ func TestBufferPoolClean(t *testing.T) { } // Clean buffers older than 48 hours - timeUpdate := time.Now().Add(48 * time.Hour).Unix() + timeUpdate := time.Now().Add(-48 * time.Hour).Unix() pool.Clean(timeUpdate) // Expected: b1, b2, b5 should remain. b3, b4 should be cleaned.