[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/lease/socket/multiple ...
Tom Elrod
tom.elrod at jboss.com
Thu Nov 9 16:35:23 EST 2006
User: telrod
Date: 06/11/09 16:35:23
Modified: src/tests/org/jboss/test/remoting/lease/socket/multiple
SocketLeaseTestCase.java
Log:
JBREM-622 & JBREM-629 - sync with remoting_2_x branch to pull in bug fixes.
Revision Changes Path
1.2 +36 -1 JBossRemoting/src/tests/org/jboss/test/remoting/lease/socket/multiple/SocketLeaseTestCase.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SocketLeaseTestCase.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/lease/socket/multiple/SocketLeaseTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- SocketLeaseTestCase.java 14 Sep 2006 20:35:27 -0000 1.1
+++ SocketLeaseTestCase.java 9 Nov 2006 21:35:23 -0000 1.2
@@ -11,7 +11,7 @@
public void declareTestClasses()
{
addTestClasses(SocketLeaseTestClient.class.getName(),
- 1,
+ 10,
SocketLeaseTestServer.class.getName());
}
@@ -19,4 +19,39 @@
{
return Level.DEBUG;
}
+
+ /**
+ * How long to wait for test results to be returned from the client(s). If goes longer than the
+ * specified limit, will throw an exception and kill the running test cases. Default value is
+ * RESULTS_TIMEOUT.
+ *
+ * @return
+ */
+ protected long getResultsTimeout()
+ {
+ return 360000;
+}
+
+ /**
+ * How long for the server test case to wait for tear down message. If exceeds timeout,
+ * will throw exception. The default value is TEARDOWN_TIMEOUT.
+ *
+ * @return
+ */
+ protected long getTearDownTimeout()
+ {
+ return 360000;
+ }
+
+ /**
+ * How long to allow each of the test cases to run their tests. If exceeds this timeout
+ * will throw exception and kill tests. The default value is RUN_TEST_TIMEOUT.
+ *
+ * @return
+ */
+ protected long getRunTestTimeout()
+ {
+ return 360000;
+ }
+
}
More information about the jboss-cvs-commits
mailing list