Issue #11677 fix AttributeNameTest (#11689)

This commit is contained in:
Jan Bartel 2024-04-24 15:42:53 +02:00 committed by GitHub
parent aef8cb1b50
commit 23ca73e833
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ public class AttributeNameTest
DefaultSessionCacheFactory cacheFactory = new DefaultSessionCacheFactory();
cacheFactory.setEvictionPolicy(SessionCache.NEVER_EVICT);
cacheFactory.setSaveOnCreate(true);
MongoSessionDataStoreFactory storeFactory = MongoTestHelper.newSessionDataStoreFactory(DB_NAME, COLLECTION_NAME);
storeFactory.setGracePeriodSec(scavengePeriod);