Affects: master
The documentation for org.springframework.test.context.cache.DefaultContextCache
says "configured with a maximum size", there exists a field maxSize
, which is set by a constructor parameter, but the contextMap
uses a hardcoded size value of 32.
Comment From: snicoll
The value is the initial capacity of the cache, not its max size.