[jboss-remoting-commits] JBoss Remoting SVN: r4169 - remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/http/retry.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Sat May 10 23:18:30 EDT 2008


Author: ron.sigal at jboss.com
Date: 2008-05-10 23:18:29 -0400 (Sat, 10 May 2008)
New Revision: 4169

Modified:
   remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/http/retry/ConnectionRetryTestCase.java
Log:
JBREM-979: Skip tests for jdk 1.4.

Modified: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/http/retry/ConnectionRetryTestCase.java
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/http/retry/ConnectionRetryTestCase.java	2008-05-11 03:17:56 UTC (rev 4168)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/http/retry/ConnectionRetryTestCase.java	2008-05-11 03:18:29 UTC (rev 4169)
@@ -95,6 +95,12 @@
    {
       log.info("entering " + getName());
       
+      if (System.getProperty("java.version").indexOf("1.4") >= 0)
+      {
+         log.info("retries not supported for jdk 1.4");
+         return;
+      }
+      
       // Start server.
       TestInvocationHandler invocationHandler = new TestInvocationHandler(2, 2);
       setupServer(invocationHandler);
@@ -136,6 +142,12 @@
    {
       log.info("entering " + getName());
       
+      if (System.getProperty("java.version").indexOf("1.4") >= 0)
+      {
+         log.info("retries not supported for jdk 1.4");
+         return;
+      }
+      
       // Start server.
       TestInvocationHandler invocationHandler = new TestInvocationHandler(2, 2);
       setupServer(invocationHandler);
@@ -178,6 +190,12 @@
    {
       log.info("entering " + getName());
       
+      if (System.getProperty("java.version").indexOf("1.4") >= 0)
+      {
+         log.info("retries not supported for jdk 1.4");
+         return;
+      }
+      
       // Start server.
       TestInvocationHandler invocationHandler = new TestInvocationHandler(2, 2);
       setupServer(invocationHandler);
@@ -212,6 +230,12 @@
    {
       log.info("entering " + getName());
       
+      if (System.getProperty("java.version").indexOf("1.4") >= 0)
+      {
+         log.info("retries not supported for jdk 1.4");
+         return;
+      }
+      
       // Start server.
       TestInvocationHandler invocationHandler = new TestInvocationHandler(2, 6);
       setupServer(invocationHandler);
@@ -255,6 +279,12 @@
    {
       log.info("entering " + getName());
       
+      if (System.getProperty("java.version").indexOf("1.4") >= 0)
+      {
+         log.info("retries not supported for jdk 1.4");
+         return;
+      }
+      
       // Start server.
       TestInvocationHandler invocationHandler = new TestInvocationHandler(2, 5);
       setupServer(invocationHandler);




More information about the jboss-remoting-commits mailing list