Skip to content

Commit

Permalink
Fixed flaky ehcache test
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Alfonsi <petealft@amazon.com>
  • Loading branch information
Peter Alfonsi committed Apr 12, 2024
1 parent f60fb08 commit 5330225
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

import com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters;

import org.ehcache.impl.serialization.StringSerializer;
import org.opensearch.cache.EhcacheDiskCacheSettings;
import org.opensearch.common.Randomness;
import org.opensearch.common.cache.CacheType;
Expand Down Expand Up @@ -807,6 +808,7 @@ public void testInvalidateWithDropDimensions() throws Exception {
.setStoragePath(env.nodePaths()[0].indicesPath.toString() + "/request_cache")
.setKeySerializer(new StringSerializer())
.setValueSerializer(new StringSerializer())
.setIsEventListenerModeSync(true)
.setDimensionNames(dimensionNames)
.setKeyType(String.class)
.setValueType(String.class)
Expand Down

0 comments on commit 5330225

Please sign in to comment.