diff --git a/hibernate-testing/src/main/java/org/hibernate/testing/cache/BaseRegion.java b/hibernate-testing/src/main/java/org/hibernate/testing/cache/BaseRegion.java index b7ce4858c5..30b1ddc2df 100644 --- a/hibernate-testing/src/main/java/org/hibernate/testing/cache/BaseRegion.java +++ b/hibernate-testing/src/main/java/org/hibernate/testing/cache/BaseRegion.java @@ -37,6 +37,7 @@ import org.hibernate.cache.spi.Region; class BaseRegion implements Region { protected final Map cache = new ConcurrentHashMap(); private final String name; + private static int timeout = Timestamper.ONE_MS * 60000; //60s BaseRegion(String name) { this.name = name; @@ -84,7 +85,7 @@ class BaseRegion implements Region { @Override public int getTimeout() { - return Timestamper.ONE_MS * 600000; + return timeout; } }