openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppod...@apache.org
Subject svn commit: r767571 - /openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/TestQueryMultiThreaded.java
Date Wed, 22 Apr 2009 15:39:10 GMT
Author: ppoddar
Date: Wed Apr 22 15:39:09 2009
New Revision: 767571

URL: http://svn.apache.org/viewvc?rev=767571&view=rev
Log:
OPENJPA-1044: Retire test where entity is used as a query parameter as it causes a thread
deadlock

Modified:
    openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/TestQueryMultiThreaded.java

Modified: openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/TestQueryMultiThreaded.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/TestQueryMultiThreaded.java?rev=767571&r1=767570&r2=767571&view=diff
==============================================================================
--- openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/TestQueryMultiThreaded.java
(original)
+++ openjpa/trunk/openjpa-slice/src/test/java/org/apache/openjpa/slice/TestQueryMultiThreaded.java
Wed Apr 22 15:39:09 2009
@@ -270,7 +270,13 @@
 		em.getTransaction().rollback();
 	}
 
-	public void testQueryParameterEntity() {
+	/**
+	 * This test is currently retired.
+	 * 
+	 * @see <A HREF="https://issues.apache.org/jira/browse/OPENJPA-1044">OPENJPA-1044</A>
+	 * for details.
+	 */
+	public void xtestQueryParameterEntity() {
 		final EntityManager em = emf.createEntityManager();
 		em.getTransaction().begin();
 		final Query addressQ = em.createQuery("select a from Address a where a.city = :city");



Mime
View raw message