You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Benjamin P Ross (Jira)" <ji...@apache.org> on 2019/08/21 21:08:00 UTC

[jira] [Updated] (GEODE-6874) Improve test coverage for Tomcat session state module

     [ https://issues.apache.org/jira/browse/GEODE-6874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin P Ross updated GEODE-6874:
-----------------------------------
    Description: 
Our unit and integration test coverage is significantly lacking for the Tomcat session state module.  This story aims to improve test coverage of that module via unit tests.

Write unit and/or integration tests for the following classes:
 * DeltaSessionAttributeEventBatch
 * DeltaSessionDestroyAttributeEvent
 * DeltaSessionStatistics
 * DeltaSessionUpdateAttributeEvent
 * AbstractSessionCache
 * ClientServerSessionCache
 * CommitSessionValve
 * DeltaSession
 * DeltaSessionFacade
 * DeltaSessionManager
 * JvmRouteBinderValve
 * PeerToPeerSessionCache
 * SessionExpirationCacheListener



  was:
Our unit and integration test coverage is significantly lacking for the Tomcat session state module.  This story aims to improve test coverage of that module via unit, integration and DUnit tests.

Write unit and/or integration tests for the following classes:
 * DeltaSessionAttributeEventBatch
 * DeltaSessionDestroyAttributeEvent
 * DeltaSessionStatistics
 * DeltaSessionUpdateAttributeEvent
 * AbstractSessionCache
 * ClientServerSessionCache
 * CommitSessionValve
 * DeltaSession
 * DeltaSessionFacade
 * DeltaSessionManager
 * JvmRouteBinderValve
 * PeerToPeerSessionCache
 * SessionExpirationCacheListener

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]).


> Improve test coverage for Tomcat session state module
> -----------------------------------------------------
>
>                 Key: GEODE-6874
>                 URL: https://issues.apache.org/jira/browse/GEODE-6874
>             Project: Geode
>          Issue Type: Improvement
>          Components: http session, tests
>            Reporter: Ryan McMahon
>            Assignee: Benjamin P Ross
>            Priority: Major
>              Labels: GeodeCommons
>
> Our unit and integration test coverage is significantly lacking for the Tomcat session state module.  This story aims to improve test coverage of that module via unit tests.
> Write unit and/or integration tests for the following classes:
>  * DeltaSessionAttributeEventBatch
>  * DeltaSessionDestroyAttributeEvent
>  * DeltaSessionStatistics
>  * DeltaSessionUpdateAttributeEvent
>  * AbstractSessionCache
>  * ClientServerSessionCache
>  * CommitSessionValve
>  * DeltaSession
>  * DeltaSessionFacade
>  * DeltaSessionManager
>  * JvmRouteBinderValve
>  * PeerToPeerSessionCache
>  * SessionExpirationCacheListener



--
This message was sent by Atlassian Jira
(v8.3.2#803003)