[jboss-cvs] JBossAS SVN: r65254 - in trunk/testsuite/src/resources/cluster/http: http-scoped and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Sep 8 16:14:13 EDT 2007


Author: bstansberry at jboss.com
Date: 2007-09-08 16:14:13 -0400 (Sat, 08 Sep 2007)
New Revision: 65254

Modified:
   trunk/testsuite/src/resources/cluster/http/http-field/getAttribute.jsp
   trunk/testsuite/src/resources/cluster/http/http-field/setSession.jsp
   trunk/testsuite/src/resources/cluster/http/http-scoped/getAttribute.jsp
   trunk/testsuite/src/resources/cluster/http/http-scoped/setSession.jsp
Log:
Shorten attribute name to decrease file system path size when passivated

Modified: trunk/testsuite/src/resources/cluster/http/http-field/getAttribute.jsp
===================================================================
--- trunk/testsuite/src/resources/cluster/http/http-field/getAttribute.jsp	2007-09-08 18:42:21 UTC (rev 65253)
+++ trunk/testsuite/src/resources/cluster/http/http-field/getAttribute.jsp	2007-09-08 20:14:13 UTC (rev 65254)
@@ -9,7 +9,7 @@
 <%
    String isNew = session.isNew() ? "true" : "false";
    response.setHeader("X-SessionIsNew", isNew);
-   DeserializationSensor sensor = (DeserializationSensor) session.getAttribute("TEST_DESERIALIZATION");
+   DeserializationSensor sensor = (DeserializationSensor) session.getAttribute("TEST_DESER");
    boolean deserialized = (sensor != null && sensor.isDeserialized());
    response.setHeader("X-SessionDeserialzied", deserialized ? "true" : "false");
    

Modified: trunk/testsuite/src/resources/cluster/http/http-field/setSession.jsp
===================================================================
--- trunk/testsuite/src/resources/cluster/http/http-field/setSession.jsp	2007-09-08 18:42:21 UTC (rev 65253)
+++ trunk/testsuite/src/resources/cluster/http/http-field/setSession.jsp	2007-09-08 20:14:13 UTC (rev 65254)
@@ -19,7 +19,7 @@
    ben.setName("Ben");
    ben.setAddress(addr);
    session.setAttribute("TEST_PERSON", ben);
-   session.setAttribute("TEST_DESERIALIZATION", new DeserializationSensor());
+   session.setAttribute("TEST_DESER", new DeserializationSensor());
    
    // Bind ben to the servlet context as well so it can be
    // accessed without involving the session

Modified: trunk/testsuite/src/resources/cluster/http/http-scoped/getAttribute.jsp
===================================================================
--- trunk/testsuite/src/resources/cluster/http/http-scoped/getAttribute.jsp	2007-09-08 18:42:21 UTC (rev 65253)
+++ trunk/testsuite/src/resources/cluster/http/http-scoped/getAttribute.jsp	2007-09-08 20:14:13 UTC (rev 65254)
@@ -6,7 +6,7 @@
 <%
    String isNew = session.isNew() ? "true" : "false";
    response.setHeader("X-SessionIsNew", isNew);
-   DeserializationSensor sensor = (DeserializationSensor) session.getAttribute("TEST_DESERIALIZATION");
+   DeserializationSensor sensor = (DeserializationSensor) session.getAttribute("TEST_DESER");
    boolean deserialized = (sensor != null && sensor.isDeserialized());
    response.setHeader("X-SessionDeserialzied", deserialized ? "true" : "false");
 %>

Modified: trunk/testsuite/src/resources/cluster/http/http-scoped/setSession.jsp
===================================================================
--- trunk/testsuite/src/resources/cluster/http/http-scoped/setSession.jsp	2007-09-08 18:42:21 UTC (rev 65253)
+++ trunk/testsuite/src/resources/cluster/http/http-scoped/setSession.jsp	2007-09-08 20:14:13 UTC (rev 65254)
@@ -11,7 +11,7 @@
    session.setAttribute("TEST_ID",id); 
    Person ben=new Person("Ben", 55);
    session.setAttribute("TEST_PERSON", ben);
-   session.setAttribute("TEST_DESERIALIZATION", new DeserializationSensor());
+   session.setAttribute("TEST_DESER", new DeserializationSensor());
 %>
 <%=id%>
 




More information about the jboss-cvs-commits mailing list