JBoss Cache SVN: r4788 - core/trunk/src/main/java/org/jboss/cache/util.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2007-11-27 14:04:35 -0500 (Tue, 27 Nov 2007)
New Revision: 4788
Added:
core/trunk/src/main/java/org/jboss/cache/util/BeanUtils.java
Log:
JavaBean utility class
Added: core/trunk/src/main/java/org/jboss/cache/util/BeanUtils.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/util/BeanUtils.java (rev 0)
+++ core/trunk/src/main/java/org/jboss/cache/util/BeanUtils.java 2007-11-27 19:04:35 UTC (rev 4788)
@@ -0,0 +1,67 @@
+package org.jboss.cache.util;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+import java.lang.reflect.Method;
+import java.util.Locale;
+
+/**
+ * Simple JavaBean manipulation helper methods
+ *
+ * @author Manik Surtani (<a href="mailto:manik@jboss.org">manik(a)jboss.org</a>)
+ * @since 2.1.0
+ */
+public class BeanUtils
+{
+ private static Log log = LogFactory.getLog(BeanUtils.class);
+ /**
+ * Retrieves a setter name based on a field name passed in
+ * @param fieldName field name to find setter for
+ * @return name of setter method
+ */
+ public static String setterName(String fieldName)
+ {
+ StringBuilder sb = new StringBuilder("set");
+ if (fieldName != null && fieldName.length() > 0)
+ {
+ sb.append(fieldName.substring(0, 1).toUpperCase(Locale.ENGLISH));
+ if (fieldName.length() > 1)
+ {
+ sb.append(fieldName.substring(1));
+ }
+ }
+ return sb.toString();
+ }
+
+ /**
+ * Returns a getter for a given class
+ * @param componentClass class to find getter for
+ * @return name of getter method
+ */
+ public static String getterName(Class componentClass)
+ {
+ StringBuilder sb = new StringBuilder("get");
+ sb.append(componentClass.getSimpleName());
+ return sb.toString();
+ }
+
+ /**
+ * Returns a Method object corresponding to a getter that retrieves an instance of componentClass from target.
+ * @param target class that the getter should exist on
+ * @param componentClass component to get
+ * @return Method object, or null of one does not exist
+ */
+ public static Method getterMethod(Class target, Class componentClass)
+ {
+ try
+ {
+ return target.getMethod(getterName(componentClass));
+ }
+ catch (NoSuchMethodException e)
+ {
+ log.trace("Unable to find method " + getterName(componentClass) + " in class " + target);
+ return null;
+ }
+ }
+}
17 years
JBoss Cache SVN: r4787 - core/trunk/src/main/java/org/jboss/cache/factories.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2007-11-27 13:59:42 -0500 (Tue, 27 Nov 2007)
New Revision: 4787
Modified:
core/trunk/src/main/java/org/jboss/cache/factories/XmlConfigurationParser.java
Log:
imports
Modified: core/trunk/src/main/java/org/jboss/cache/factories/XmlConfigurationParser.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/factories/XmlConfigurationParser.java 2007-11-27 18:59:02 UTC (rev 4786)
+++ core/trunk/src/main/java/org/jboss/cache/factories/XmlConfigurationParser.java 2007-11-27 18:59:42 UTC (rev 4787)
@@ -39,7 +39,6 @@
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
-import java.util.Locale;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Properties;
17 years
JBoss Cache SVN: r4786 - core/trunk/src/main/java/org/jboss/cache/factories.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2007-11-27 13:59:02 -0500 (Tue, 27 Nov 2007)
New Revision: 4786
Modified:
core/trunk/src/main/java/org/jboss/cache/factories/XmlConfigurationParser.java
Log:
Extracted stuff into a util class
Modified: core/trunk/src/main/java/org/jboss/cache/factories/XmlConfigurationParser.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/factories/XmlConfigurationParser.java 2007-11-27 18:49:54 UTC (rev 4785)
+++ core/trunk/src/main/java/org/jboss/cache/factories/XmlConfigurationParser.java 2007-11-27 18:59:02 UTC (rev 4786)
@@ -21,6 +21,7 @@
import org.jboss.cache.config.MissingPolicyException;
import org.jboss.cache.eviction.EvictionPolicy;
import org.jboss.cache.util.Util;
+import org.jboss.cache.util.BeanUtils;
import org.jboss.cache.xml.XmlHelper;
import org.w3c.dom.Attr;
import org.w3c.dom.Element;
@@ -230,8 +231,8 @@
for (Entry entry : attribs.entrySet())
{
String propName = (String) entry.getKey();
- String setter = getSetterName(propName);
- Method method = null;
+ String setter = BeanUtils.setterName(propName);
+ Method method;
try
{
@@ -698,21 +699,6 @@
return new ParsedAttributes(stringAttribs, xmlAttribs);
}
-
- private static String getSetterName(String propName)
- {
- StringBuffer sb = new StringBuffer("set");
- if (propName != null && propName.length() > 0)
- {
- sb.append(propName.substring(0, 1).toUpperCase(Locale.ENGLISH));
- if (propName.length() > 1)
- {
- sb.append(propName.substring(1));
- }
- }
- return sb.toString();
- }
-
static class ParsedAttributes
{
Map<String, String> stringAttribs;
17 years
JBoss Cache SVN: r4785 - core/trunk/src/main/java/org/jboss/cache/interceptors.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2007-11-27 13:49:54 -0500 (Tue, 27 Nov 2007)
New Revision: 4785
Modified:
core/trunk/src/main/java/org/jboss/cache/interceptors/PessimisticLockInterceptor.java
Log:
Fixed bug where nodes invalidated remotely were not visible.
Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/PessimisticLockInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/PessimisticLockInterceptor.java 2007-11-27 18:48:38 UTC (rev 4784)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/PessimisticLockInterceptor.java 2007-11-27 18:49:54 UTC (rev 4785)
@@ -377,13 +377,15 @@
acquireNodeLock(child_node, owner, gtx, lockTypeRequired, timeout);
// make sure the lock we acquired isn't on a deleted node/is an orphan!!
- NodeSPI repeek = cache.peek(child_node.getFqn(), true);
+ // look into invalidated nodes as well
+ NodeSPI repeek = cache.peek(child_node.getFqn(), true, true);
if (child_node != repeek)//repeek != null && child_node != repeek)// || repeek == null && created)
{
log.trace("Was waiting for and obtained a lock on a node that doesn't exist anymore! Attempting lock acquisition again.");
// we have an orphan!! Lose the unnecessary lock and re-acquire the lock (and potentially recreate the node).
// check if the parent exists!!
- if (cache.peek(n.getFqn(), true) == null)
+ // look into invalidated nodes as well
+ if (cache.peek(n.getFqn(), true, true) == null)
{
// crap!
log.trace("Parent has been deleted again. Go through the lock method all over again.");
17 years
JBoss Cache SVN: r4784 - core/trunk/src/main/java/org/jboss/cache/factories.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2007-11-27 13:48:38 -0500 (Tue, 27 Nov 2007)
New Revision: 4784
Modified:
core/trunk/src/main/java/org/jboss/cache/factories/XmlConfigurationParser.java
Log:
reduced logging noise
Modified: core/trunk/src/main/java/org/jboss/cache/factories/XmlConfigurationParser.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/factories/XmlConfigurationParser.java 2007-11-27 18:48:15 UTC (rev 4783)
+++ core/trunk/src/main/java/org/jboss/cache/factories/XmlConfigurationParser.java 2007-11-27 18:48:38 UTC (rev 4784)
@@ -251,7 +251,8 @@
catch (NoSuchMethodException me)
{
// this is ok, but certainly log this as a warning
- if (log.isWarnEnabled()) log.warn("Unrecognised attribute " + propName + ". Please check your configuration. Ignoring!!");
+ // this is hugely noisy!
+ //if (log.isWarnEnabled()) log.warn("Unrecognised attribute " + propName + ". Please check your configuration. Ignoring!!");
}
catch (Exception e)
{
17 years
JBoss Cache SVN: r4783 - core/tags/2.1.0.CR2/src/main/java/org/jboss/cache/interceptors.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2007-11-27 13:48:15 -0500 (Tue, 27 Nov 2007)
New Revision: 4783
Modified:
core/tags/2.1.0.CR2/src/main/java/org/jboss/cache/interceptors/PessimisticLockInterceptor.java
Log:
Fixed bug where nodes invalidated remotely are not detected
Modified: core/tags/2.1.0.CR2/src/main/java/org/jboss/cache/interceptors/PessimisticLockInterceptor.java
===================================================================
--- core/tags/2.1.0.CR2/src/main/java/org/jboss/cache/interceptors/PessimisticLockInterceptor.java 2007-11-27 18:47:45 UTC (rev 4782)
+++ core/tags/2.1.0.CR2/src/main/java/org/jboss/cache/interceptors/PessimisticLockInterceptor.java 2007-11-27 18:48:15 UTC (rev 4783)
@@ -377,13 +377,13 @@
acquireNodeLock(child_node, owner, gtx, lockTypeRequired, timeout);
// make sure the lock we acquired isn't on a deleted node/is an orphan!!
- NodeSPI repeek = cache.peek(child_node.getFqn(), true);
+ NodeSPI repeek = cache.peek(child_node.getFqn(), true, true);
if (child_node != repeek)//repeek != null && child_node != repeek)// || repeek == null && created)
{
log.trace("Was waiting for and obtained a lock on a node that doesn't exist anymore! Attempting lock acquisition again.");
// we have an orphan!! Lose the unnecessary lock and re-acquire the lock (and potentially recreate the node).
// check if the parent exists!!
- if (cache.peek(n.getFqn(), true) == null)
+ if (cache.peek(n.getFqn(), true, true) == null)
{
// crap!
log.trace("Parent has been deleted again. Go through the lock method all over again.");
@@ -398,6 +398,12 @@
// do the loop again, but don't assign child_node to n so that child_node is processed again.
i--;
reAcquisitionOnSameNode = true;
+// retries ++;
+// if (retries == 3)
+// {
+// rerunLoop = true;
+// i = treeNodeSize;
+// }
}
continue;
17 years
JBoss Cache SVN: r4782 - core/tags/2.1.0.CR2/src/main/java/org/jboss/cache/factories.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2007-11-27 13:47:45 -0500 (Tue, 27 Nov 2007)
New Revision: 4782
Modified:
core/tags/2.1.0.CR2/src/main/java/org/jboss/cache/factories/XmlConfigurationParser.java
Log:
Reduced log noise
Modified: core/tags/2.1.0.CR2/src/main/java/org/jboss/cache/factories/XmlConfigurationParser.java
===================================================================
--- core/tags/2.1.0.CR2/src/main/java/org/jboss/cache/factories/XmlConfigurationParser.java 2007-11-27 11:49:57 UTC (rev 4781)
+++ core/tags/2.1.0.CR2/src/main/java/org/jboss/cache/factories/XmlConfigurationParser.java 2007-11-27 18:47:45 UTC (rev 4782)
@@ -251,7 +251,8 @@
catch (NoSuchMethodException me)
{
// this is ok, but certainly log this as a warning
- if (log.isWarnEnabled()) log.warn("Unrecognised attribute " + propName + ". Please check your configuration. Ignoring!!");
+ // very noisy!!
+ // if (log.isWarnEnabled()) log.warn("Unrecognised attribute " + propName + ". Please check your configuration. Ignoring!!");
}
catch (Exception e)
{
17 years
Build failed in Hudson: jboss-cache-core-jdk1.6 » JBoss Cache - Core Edition #118
by jboss-qa-internal@redhat.com
See https://hudson.jboss.org/hudson/job/jboss-cache-core-jdk1.6/org.jboss.cac...
Changes:
[manik.surtani(a)jboss.com] properly disable ConcurrentPutRemoveTest
------------------------------------------
started
Building remotely on conf1-linux
$ /qa/tools/opt/jdk1.6.0_02/bin/java -Xmx256m -cp /home/hudson/hudson_workspace/maven-agent.jar:/qa/tools/opt/maven-2.0.6/boot/classworlds-1.1.jar hudson.maven.agent.Main /qa/tools/opt/maven-2.0.6 /qa/services/hudson/hudson_1.149/slave.jar /home/hudson/hudson_workspace/maven-interceptor.jar
channel started
[INFO] Scanning for projects...
WAGON_VERSION: 1.0-beta-2
[INFO] ----------------------------------------------------------------------------
[INFO] Building JBoss Cache - Core Edition
[INFO] task-segment: [clean, site]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /home/hudson/hudson_workspace/workspace/jboss-cache-core-jdk1.6/./target
[INFO] Deleting directory /home/hudson/hudson_workspace/workspace/jboss-cache-core-jdk1.6/./target/classes
[INFO] Deleting directory /home/hudson/hudson_workspace/workspace/jboss-cache-core-jdk1.6/./target/test-classes
[INFO] Deleting directory /home/hudson/hudson_workspace/workspace/jboss-cache-core-jdk1.6/./target/site
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] **************************************************************
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties
[INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.
[INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm'
[INFO] Velocimacro : VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] **************************************************************
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties
[INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.
[INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm'
[INFO] Velocimacro : VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] Preparing surefire-report:report
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 295 source files to /home/hudson/hudson_workspace/workspace/jboss-cache-core-jdk1.6/./target/classes
[HUDSON] Archiving /home/hudson/hudson_workspace/workspace/jboss-cache-core-jdk1.6/./pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/home/hudson/hudson_workspace/workspace/jboss-cache-core-jdk1.6/./src/main/java/org/jboss/cache/util/CachePrinter.java:[6,42] package org.jboss.cache.factories.injection does not exist
/home/hudson/hudson_workspace/workspace/jboss-cache-core-jdk1.6/./src/main/java/org/jboss/cache/util/CachePrinter.java:[60,61] package ComponentFactory does not exist
/home/hudson/hudson_workspace/workspace/jboss-cache-core-jdk1.6/./src/main/java/org/jboss/cache/util/CachePrinter.java:[69,75] package ComponentFactory does not exist
/home/hudson/hudson_workspace/workspace/jboss-cache-core-jdk1.6/./src/main/java/org/jboss/cache/util/CachePrinter.java:[75,27] package ComponentFactory does not exist
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 53 seconds
[INFO] Finished at: Tue Nov 27 12:06:15 EST 2007
[INFO] Final Memory: 41M/72M
[INFO] ------------------------------------------------------------------------
Sending e-mails to: dpospisi(a)redhat.com manik.surtani(a)jboss.com
Build was marked for publishing on https://hudson.jboss.org/hudson/
finished: FAILURE
17 years
Build failed in Hudson: jboss-cache-core-jdk1.5 » JBoss Cache - Core Edition #159
by jboss-qa-internal@redhat.com
See https://hudson.jboss.org/hudson/job/jboss-cache-core-jdk1.5/org.jboss.cac...
Changes:
[manik.surtani(a)jboss.com] properly disable ConcurrentPutRemoveTest
------------------------------------------
started
Building remotely on dev17-rhel4-x86_64
$ /qa/tools/opt/jdk1.5.0_12/bin/java -Xmx256m -cp /home/hudson/hudson_workspace/maven-agent.jar:/qa/tools/opt/maven-2.0.6/boot/classworlds-1.1.jar hudson.maven.agent.Main /qa/tools/opt/maven-2.0.6 /qa/services/hudson/hudson_1.149/slave.jar /home/hudson/hudson_workspace/maven-interceptor.jar
channel started
[INFO] Scanning for projects...
WAGON_VERSION: 1.0-beta-2
[INFO] ----------------------------------------------------------------------------
[INFO] Building JBoss Cache - Core Edition
[INFO] task-segment: [package]
[INFO] ----------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 295 source files to /home/hudson/hudson_workspace/workspace/jboss-cache-core-jdk1.5/./target/classes
[HUDSON] Archiving /home/hudson/hudson_workspace/workspace/jboss-cache-core-jdk1.5/./pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/home/hudson/hudson_workspace/workspace/jboss-cache-core-jdk1.5/./src/main/java/org/jboss/cache/util/CachePrinter.java:[6,43] package org.jboss.cache.factories.injection does not exist
/home/hudson/hudson_workspace/workspace/jboss-cache-core-jdk1.5/./src/main/java/org/jboss/cache/util/CachePrinter.java:[60,61] package ComponentFactory does not exist
/home/hudson/hudson_workspace/workspace/jboss-cache-core-jdk1.5/./src/main/java/org/jboss/cache/util/CachePrinter.java:[69,75] package ComponentFactory does not exist
/home/hudson/hudson_workspace/workspace/jboss-cache-core-jdk1.5/./src/main/java/org/jboss/cache/util/CachePrinter.java:[75,27] package ComponentFactory does not exist
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 38 seconds
[INFO] Finished at: Tue Nov 27 12:06:13 EST 2007
[INFO] Final Memory: 15M/59M
[INFO] ------------------------------------------------------------------------
Sending e-mails to: dpospisi(a)redhat.com manik.surtani(a)jboss.com
Build was marked for publishing on https://hudson.jboss.org/hudson/
finished: FAILURE
17 years
JBoss Cache SVN: r4781 - core/trunk/src/test/java/org/jboss/cache/lock/pessimistic.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2007-11-27 06:49:57 -0500 (Tue, 27 Nov 2007)
New Revision: 4781
Modified:
core/trunk/src/test/java/org/jboss/cache/lock/pessimistic/ConcurrentPutRemoveTest.java
Log:
properly disable ConcurrentPutRemoveTest
Modified: core/trunk/src/test/java/org/jboss/cache/lock/pessimistic/ConcurrentPutRemoveTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/lock/pessimistic/ConcurrentPutRemoveTest.java 2007-11-27 11:49:21 UTC (rev 4780)
+++ core/trunk/src/test/java/org/jboss/cache/lock/pessimistic/ConcurrentPutRemoveTest.java 2007-11-27 11:49:57 UTC (rev 4781)
@@ -58,7 +58,7 @@
}
}
- @Test (invocationCount = 50)
+ @Test (invocationCount = 50, enabled = false)
public void testLock() throws Exception {
for (int x = 0; x < 2; x++) {
SeparateThread t = new SeparateThread(x);
17 years