[jetty-dev] [jira] (JETTY-776) Make new jetty-session-tests module to concentrate all reusable session clustering test code

"Jan Bartel (JIRA)" <[email protected]>
Newsgroups gmane.comp.java.jetty.general
Message-ID <664982594.45165.1330562883134.JavaMail.j2ee-jira@codehaus01.managed.contegix.com>
     [ https://jira.codehaus.org/browse/JETTY-776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Bartel resolved JETTY-776.
------------------------------

    Resolution: Fixed

Closing this issue as all relevant session impls have been moved into the appropriate session test module.
                
> Make new jetty-session-tests module to concentrate all reusable session clustering test code
> --------------------------------------------------------------------------------------------
>
>                 Key: JETTY-776
>                 URL: https://jira.codehaus.org/browse/JETTY-776
>             Project: Jetty
>          Issue Type: Task
>          Components: Servlet
>            Reporter: Jan Bartel
>            Assignee: Jan Bartel
>            Priority: Minor
>
> There are many standard and repeatable tests that we want to be able to apply to the various jetty session clustering implementations which to date include terracotta, openspaces and jdbc.  These tests are presently in the jetty module and built into a test artifact, which only gets built as I discovered, if you execute the tests as part of the install goal.  The terracotta session implementation does not presently use these tests, but has another set of its own.
> We need to make a new jetty-session-tests module and move all of the reusable test code into it. As the terracotta session test design is simpler to understand, we should base this new module on that code, and refactor it to make the session implementation pluggable. We should also add any tests that are necessary to ensure that we have as good or better test coverage than we had with the tests in AbstractSessionTest in the jetty module.
> Then, all of the clustered session implementations must be made to depend on the jetty-session-tests artifact.
> One difficulty is that the JDBCSessionManager implementation in the jetty module would need to depend on the jetty-session-tests artifact, which itself will have explicit and transitive dependencies on the jetty module, thus creating circular dependencies.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.