[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/loader ...
Manik Surtani
msurtani at jboss.com
Wed Dec 20 08:40:24 EST 2006
User: msurtani
Date: 06/12/20 08:40:24
Modified: tests/functional/org/jboss/cache/loader
TcpCacheLoaderTest.java
Log:
added time for tcp cache server to start up
Revision Changes Path
1.12 +4 -2 JBossCache/tests/functional/org/jboss/cache/loader/TcpCacheLoaderTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TcpCacheLoaderTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/loader/TcpCacheLoaderTest.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- TcpCacheLoaderTest.java 25 Oct 2006 14:42:27 -0000 1.11
+++ TcpCacheLoaderTest.java 20 Dec 2006 13:40:24 -0000 1.12
@@ -9,7 +9,7 @@
* Tests the TcpDelegatingCacheLoader
*
* @author Bela Ban
- * @version $Id: TcpCacheLoaderTest.java,v 1.11 2006/10/25 14:42:27 msurtani Exp $
+ * @version $Id: TcpCacheLoaderTest.java,v 1.12 2006/12/20 13:40:24 msurtani Exp $
*/
public class TcpCacheLoaderTest extends CacheLoaderTestsBase
{
@@ -51,7 +51,6 @@
});
runner.start();
- TestingUtil.sleepThread(500);
}
public void testPartialLoadAndStore()
@@ -70,6 +69,9 @@
cache.getConfiguration().setCacheLoaderConfig(getSingleCacheLoaderConfig("",
"org.jboss.cache.loader.TcpDelegatingCacheLoader",
"host=127.0.0.1\nport=12121", false, true, false));
+
+ // give the tcp cache server time to start up
+ TestingUtil.sleepThread(2000);
}
More information about the jboss-cvs-commits
mailing list