[hibernate-commits] Hibernate SVN: r15447 - core/branches/JBOSS_CACHE_3/cache-jbosscache2/src/test/java/org/hibernate/test/cache/jbc2/functional.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Wed Oct 29 19:14:36 EDT 2008


Author: bstansberry at jboss.com
Date: 2008-10-29 19:14:36 -0400 (Wed, 29 Oct 2008)
New Revision: 15447

Modified:
   core/branches/JBOSS_CACHE_3/cache-jbosscache2/src/test/java/org/hibernate/test/cache/jbc2/functional/optimistic-treecache.xml
   core/branches/JBOSS_CACHE_3/cache-jbosscache2/src/test/java/org/hibernate/test/cache/jbc2/functional/pessimistic-treecache.xml
Log:
Update configs for JBC3

Modified: core/branches/JBOSS_CACHE_3/cache-jbosscache2/src/test/java/org/hibernate/test/cache/jbc2/functional/optimistic-treecache.xml
===================================================================
--- core/branches/JBOSS_CACHE_3/cache-jbosscache2/src/test/java/org/hibernate/test/cache/jbc2/functional/optimistic-treecache.xml	2008-10-29 22:16:17 UTC (rev 15446)
+++ core/branches/JBOSS_CACHE_3/cache-jbosscache2/src/test/java/org/hibernate/test/cache/jbc2/functional/optimistic-treecache.xml	2008-10-29 23:14:36 UTC (rev 15447)
@@ -56,7 +56,8 @@
         <!--
             Node locking scheme:
                 OPTIMISTIC
-                PESSIMISTIC (default)
+                PESSIMISTIC
+                MVCC (default)
         -->
         <attribute name="NodeLockingScheme">OPTIMISTIC</attribute>
 
@@ -137,6 +138,9 @@
        <!-- Must match the value of "useRegionBasedMarshalling" -->
        <attribute name="InactiveOnStartup">true</attribute>
 
+        <!-- For now. disable asynchronous RPC marshalling/sending -->
+        <attribute name="SerializationExecutorPoolSize">0</attribute>
+
       <!--  Specific eviction policy configurations. This is LRU -->
       <attribute name="EvictionPolicyConfig">
         <config>

Modified: core/branches/JBOSS_CACHE_3/cache-jbosscache2/src/test/java/org/hibernate/test/cache/jbc2/functional/pessimistic-treecache.xml
===================================================================
--- core/branches/JBOSS_CACHE_3/cache-jbosscache2/src/test/java/org/hibernate/test/cache/jbc2/functional/pessimistic-treecache.xml	2008-10-29 22:16:17 UTC (rev 15446)
+++ core/branches/JBOSS_CACHE_3/cache-jbosscache2/src/test/java/org/hibernate/test/cache/jbc2/functional/pessimistic-treecache.xml	2008-10-29 23:14:36 UTC (rev 15447)
@@ -45,7 +45,16 @@
         <depends>jboss:service=Naming</depends>
         <depends>jboss:service=TransactionManager</depends>
 
+
         <!--
+            Node locking scheme:
+                OPTIMISTIC
+                PESSIMISTIC
+                MVCC (default)
+        -->
+        <attribute name="NodeLockingScheme">PESSIMISTIC</attribute>
+
+        <!--
             TransactionManager configuration not required for Hibernate!
             Hibernate will plug in its own transaction manager integration.
         -->
@@ -110,6 +119,9 @@
         <!-- Max number of milliseconds to wait for a lock acquisition -->
         <attribute name="LockAcquisitionTimeout">15000</attribute>
 
+        <!-- For now. disable asynchronous RPC marshalling/sending -->
+        <attribute name="SerializationExecutorPoolSize">0</attribute>
+
       <!--  Specific eviction policy configurations. This is LRU -->
       <attribute name="EvictionPolicyConfig">
         <config>




More information about the hibernate-commits mailing list