[jboss-cvs] JBossCache/tests-50/functional/org/jboss/cache/pojo ...
Ben Wang
bwang at jboss.com
Wed Jan 3 08:14:15 EST 2007
User: bwang
Date: 07/01/03 08:14:15
Modified: tests-50/functional/org/jboss/cache/pojo LocalTxTest.java
Log:
upd
Revision Changes Path
1.8 +5 -0 JBossCache/tests-50/functional/org/jboss/cache/pojo/LocalTxTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: LocalTxTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/LocalTxTest.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- LocalTxTest.java 3 Jan 2007 09:38:39 -0000 1.7
+++ LocalTxTest.java 3 Jan 2007 13:14:15 -0000 1.8
@@ -143,6 +143,7 @@
addr.setCity("San Jose");
UserTransaction tx = getTransaction();
tx.begin();
+ // Note that this will create a write lock on p (on the JBossInternal node)
p.setAddress(addr);
TestingUtil.sleepThread(17000);
tx.commit();
@@ -180,6 +181,10 @@
{
;
}
+ catch (org.jboss.cache.pojo.PojoCacheException tex)
+ {
+ // This will be a timeout exception. OK.
+ }
catch (Exception ex)
{
// t2_ex = ex;
More information about the jboss-cvs-commits
mailing list