From 4fa4604adbbf2b5120d77bb33df13ca13c513b70 Mon Sep 17 00:00:00 2001 From: Peter Alfonsi Date: Wed, 17 Jan 2024 13:15:57 -0800 Subject: [PATCH] Fixed static variable warning --- .../common/cache/tier/keystore/RBMIntKeyLookupStoreTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/test/java/org/opensearch/common/cache/tier/keystore/RBMIntKeyLookupStoreTests.java b/server/src/test/java/org/opensearch/common/cache/tier/keystore/RBMIntKeyLookupStoreTests.java index 830700a2745df..7626caa14a21f 100644 --- a/server/src/test/java/org/opensearch/common/cache/tier/keystore/RBMIntKeyLookupStoreTests.java +++ b/server/src/test/java/org/opensearch/common/cache/tier/keystore/RBMIntKeyLookupStoreTests.java @@ -85,7 +85,7 @@ public void testTransformationLogic() throws Exception { public void testContains() throws Exception { RBMIntKeyLookupStore kls = new RBMIntKeyLookupStore(RBMIntKeyLookupStore.KeystoreModuloValue.TWO_TO_TWENTY_NINE, 0L); RBMIntKeyLookupStore noModuloKls = new RBMIntKeyLookupStore(RBMIntKeyLookupStore.KeystoreModuloValue.NONE, 0L); - for (int i = 0; i < kls.REFRESH_SIZE_EST_INTERVAL + 1000; i++) { + for (int i = 0; i < RBMIntKeyLookupStore.REFRESH_SIZE_EST_INTERVAL + 1000; i++) { // set upper bound > number of elements to trigger a size check, ensuring we test that too kls.add(i); assertTrue(kls.contains(i));