Author: manik.surtani(a)jboss.com
Date: 2008-05-09 07:48:48 -0400 (Fri, 09 May 2008)
New Revision: 5815
Modified:
core/trunk/src/main/java/org/jboss/cache/lock/LockStrategyFactory.java
core/trunk/src/test/java/org/jboss/cache/transaction/isolationlevels/SerializableTest.java
Log:
LockStrategyFactory should be non-volatile
Modified: core/trunk/src/main/java/org/jboss/cache/lock/LockStrategyFactory.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/lock/LockStrategyFactory.java 2008-05-09
11:21:17 UTC (rev 5814)
+++ core/trunk/src/main/java/org/jboss/cache/lock/LockStrategyFactory.java 2008-05-09
11:48:48 UTC (rev 5815)
@@ -8,6 +8,7 @@
import org.jboss.cache.config.Configuration;
import org.jboss.cache.factories.annotations.Inject;
+import org.jboss.cache.factories.annotations.NonVolatile;
import org.jboss.cache.factories.annotations.Start;
@@ -16,6 +17,7 @@
*
* @author Ben Wang
*/
+@NonVolatile
public class LockStrategyFactory
{
Modified:
core/trunk/src/test/java/org/jboss/cache/transaction/isolationlevels/SerializableTest.java
===================================================================
---
core/trunk/src/test/java/org/jboss/cache/transaction/isolationlevels/SerializableTest.java 2008-05-09
11:21:17 UTC (rev 5814)
+++
core/trunk/src/test/java/org/jboss/cache/transaction/isolationlevels/SerializableTest.java 2008-05-09
11:48:48 UTC (rev 5815)
@@ -1,11 +1,13 @@
package org.jboss.cache.transaction.isolationlevels;
import org.jboss.cache.lock.IsolationLevel;
+import org.testng.annotations.Test;
/**
* @author <a href="mailto:manik@jboss.org">Manik Surtani</a>
* @since 2.0.0
*/
+@Test(groups = "functional")
public class SerializableTest extends IsolationLevelTestBase
{
public SerializableTest()
Show replies by date