Details
-
Improvement
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Our DUnit test coverage is significantly lacking for the Tomcat session state module. This story aims to improve test coverage of that module.
Write DUnit tests for the following classes:
- DeltaSessionAttributeEventBatch
- DeltaSessionDestroyAttributeEvent
- DeltaSessionStatistics
- DeltaSessionUpdateAttributeEvent
- AbstractSessionCache
- ClientServerSessionCache
- CommitSessionValve
- DeltaSession
- DeltaSessionFacade
- DeltaSessionManager
- JvmRouteBinderValve
- PeerToPeerSessionCache
- SessionExpirationCacheListener
- TouchReplicatedRegionEntriesFunction
- TouchPartitionedRegionEntriesFunction
Write DUnit tests to exercise all versions of Tomcat with client-server and peer-to-peer topologies, with and without local caching enabled. We also want to exercise rebalance, resource management (thresholds), and commit behavior (CommitSessionValve) related configuration as described in the docs. We should scale these tests and the system level tests to do a more realistic workload. A lot of them add a single entry to the session store with just one or two containers. (https://gemfire.docs.pivotal.io/98/geode/tools_modules/http_session_mgmt/tomcat_changing_gf_default_cfg.html).