[jboss-cvs] JBossAS SVN: r86825 - trunk/testsuite/src/resources/cluster/http.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Apr 5 16:21:16 EDT 2009


Author: pferraro
Date: 2009-04-05 16:21:15 -0400 (Sun, 05 Apr 2009)
New Revision: 86825

Added:
   trunk/testsuite/src/resources/cluster/http/sleep.jsp
Log:
[JBAS-6534] Ported fix from Branch_5_x


Added: trunk/testsuite/src/resources/cluster/http/sleep.jsp
===================================================================
--- trunk/testsuite/src/resources/cluster/http/sleep.jsp	                        (rev 0)
+++ trunk/testsuite/src/resources/cluster/http/sleep.jsp	2009-04-05 20:21:15 UTC (rev 86825)
@@ -0,0 +1,15 @@
+<%
+   String sleep = request.getParameter("sleep");
+
+   if (sleep != null)
+   {
+      long ms = Long.parseLong(sleep);
+      
+      if (ms > 0)
+      {
+         Thread.sleep(ms);
+      }
+      
+      session.setAttribute("sleep", sleep);
+   }
+%>
\ No newline at end of file




More information about the jboss-cvs-commits mailing list