[jboss-cvs] JBossCache/tests/functional/org/jboss/cache ...
Manik Surtani
msurtani at jboss.com
Wed Jul 19 01:10:12 EDT 2006
User: msurtani
Date: 06/07/19 01:10:12
Modified: tests/functional/org/jboss/cache CacheFactoryTest.java
Log:
Implemented and added tests for configuring a tree cache using the factory.
Revision Changes Path
1.2 +2 -0 JBossCache/tests/functional/org/jboss/cache/CacheFactoryTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CacheFactoryTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/CacheFactoryTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- CacheFactoryTest.java 18 Jul 2006 18:28:39 -0000 1.1
+++ CacheFactoryTest.java 19 Jul 2006 05:10:12 -0000 1.2
@@ -90,6 +90,8 @@
assertEquals(10000, tc.getLockAcquisitionTimeout());
assertEquals("REPEATABLE_READ", tc.getIsolationLevel());
assertEquals(true, tc.getUseRegionBasedMarshalling());
+ // test some of the XML content.
+ assertEquals("UDP(ip_mcast=true;ip_ttl=64;loopback=false;mcast_addr=228.1.2.3;mcast_port=48866;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD_SOCK:VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=true;up_thread=true)", tc.getClusterProperties());
}
public void testLifecycle() throws Exception
More information about the jboss-cvs-commits
mailing list