Udpate testcase

This commit is contained in:
Aditya Ujeniya
2026-02-27 15:09:06 +01:00
parent 07b989cb81
commit 2e5d85c223

View File

@@ -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.