Author: ron.sigal(a)jboss.com
Date: 2008-05-02 02:39:02 -0400 (Fri, 02 May 2008)
New Revision: 4121
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/bisocket/BisocketTestCase.java
Log:
JBREM-930: In testServerSlowRestart() and testServerQuickRestart(), close old Connector
before retrying..
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/bisocket/BisocketTestCase.java
===================================================================
---
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/bisocket/BisocketTestCase.java 2008-05-02
05:07:39 UTC (rev 4120)
+++
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/bisocket/BisocketTestCase.java 2008-05-02
06:39:02 UTC (rev 4121)
@@ -1795,6 +1795,7 @@
catch (Exception e)
{
log.info("unable to restart connector: retrying in 60 seconds");
+ tearDown();
Thread.sleep(60000);
}
}
@@ -1884,6 +1885,7 @@
catch (Exception e)
{
log.info("unable to restart connector: retrying in 60 seconds");
+ tearDown();
Thread.sleep(60000);
}
}
@@ -1965,7 +1967,7 @@
{
try
{
- internalSetUp(port);
+ internalSetUp(port);
break;
}
catch (Exception e)
Show replies by date