Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Bartel2010-01-26 01:37:03 +0000
committerJan Bartel2010-01-26 01:37:03 +0000
commit28453e9c24e0ea024b64da517bf934807330008e (patch)
tree0a9980aae016be5f367279ddfc4d8f87afe55ec1 /tests/test-sessions/test-sessions-common/pom.xml
parentc706695ecaa8633fcc649eeda3d93a0e775541a9 (diff)
downloadorg.eclipse.jetty.project-28453e9c24e0ea024b64da517bf934807330008e.tar.gz
org.eclipse.jetty.project-28453e9c24e0ea024b64da517bf934807330008e.tar.xz
org.eclipse.jetty.project-28453e9c24e0ea024b64da517bf934807330008e.zip
Add new test-sessions module to do testing of various session implementations. The test-session-common module was created based on the terracotta session test suite checked into jetty-codehaus. I've genericized these tests so that they may be applied to the various session clustering solutions.
Changes to JDBCSessionIdManager with this checkin were to increase the length of the varchar storing the session id from 60 to 120 char, and also to reduce the amount of time we held a lock over the session id map. Changes to the JDBCSessionManager with this checkin were to decrease the amount of time we held locks, and when retrieving a session from the database, checking if the session had expired before loading it. Changes to the AbstractSessionManager with this checkin were to ensure that the SessionListeners were only called if the session was removed (we were calling them anyway). git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1213 7e9141cc-0065-0410-87d8-b60c137991c4
Diffstat (limited to 'tests/test-sessions/test-sessions-common/pom.xml')
-rw-r--r--tests/test-sessions/test-sessions-common/pom.xml54
1 files changed, 54 insertions, 0 deletions
diff --git a/tests/test-sessions/test-sessions-common/pom.xml b/tests/test-sessions/test-sessions-common/pom.xml
new file mode 100644
index 0000000000..ccb3be98dc
--- /dev/null
+++ b/tests/test-sessions/test-sessions-common/pom.xml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+// ========================================================================
+// Copyright (c) Webtide LLC
+//
+// All rights reserved. This program and the accompanying materials
+// are made available under the terms of the Eclipse Public License v1.0
+// and Apache License v2.0 which accompanies this distribution.
+//
+// The Eclipse Public License is available at
+// http://www.eclipse.org/legal/epl-v10.html
+//
+// The Apache License v2.0 is available at
+// http://www.apache.org/licenses/LICENSE-2.0.txt
+//
+// You may elect to redistribute this code under either of these licenses.
+// ========================================================================
+ -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.eclipse.jetty.tests</groupId>
+ <artifactId>test-sessions-parent</artifactId>
+ <version>7.0.2-SNAPSHOT</version>
+ </parent>
+ <artifactId>test-sessions-common</artifactId>
+ <name>Jetty Tests :: Sessions :: Common</name>
+ <build>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-server</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-webapp</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-client</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
+ <version>5.8</version>
+ <classifier>jdk15</classifier>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+</project>

Back to the top