From jdo-commits-return-2745-apmail-db-jdo-commits-archive=www.apache.org@db.apache.org Fri May 07 21:58:04 2010 Return-Path: Delivered-To: apmail-db-jdo-commits-archive@www.apache.org Received: (qmail 63851 invoked from network); 7 May 2010 21:58:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 May 2010 21:58:04 -0000 Received: (qmail 43861 invoked by uid 500); 7 May 2010 21:58:04 -0000 Mailing-List: contact jdo-commits-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-commits@db.apache.org Received: (qmail 43854 invoked by uid 99); 7 May 2010 21:58:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 May 2010 21:58:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 May 2010 21:58:02 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 76D3A23889C5; Fri, 7 May 2010 21:57:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r942247 - /db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/DatastoreTimeout.java Date: Fri, 07 May 2010 21:57:06 -0000 To: jdo-commits@db.apache.org From: mbo@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100507215706.76D3A23889C5@eris.apache.org> Author: mbo Date: Fri May 7 21:57:06 2010 New Revision: 942247 URL: http://svn.apache.org/viewvc?rev=942247&view=rev Log: JDO-623: added assertion ids to DatastoreTimeout test case Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/DatastoreTimeout.java Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/DatastoreTimeout.java URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/DatastoreTimeout.java?rev=942247&r1=942246&r2=942247&view=diff ============================================================================== --- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/DatastoreTimeout.java (original) +++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanager/DatastoreTimeout.java Fri May 7 21:57:06 2010 @@ -39,7 +39,7 @@ import org.apache.jdo.tck.util.ThreadExc *
*Keywords: datastore timeout *
- *Assertion ID: A?? + *Assertion ID: A12.6.9-1, A14.6.1-7 *
*Assertion Description: */ @@ -48,13 +48,13 @@ public class DatastoreTimeout extends JD /** */ private static final String ASSERTION_FAILED = - "Assertion A?? (DatastoreTimeout) failed: "; + "Assertion A12.6.9-1, A14.6.1-7 (DatastoreTimeout) failed: "; /** Timeout value for datastore read */ - private static Integer READ_TIMEOUT = new Integer(10); + private static Integer READ_TIMEOUT = new Integer(100); /** Timeout value for datastore write */ - private static Integer WRITE_TIMEOUT = new Integer(10); + private static Integer WRITE_TIMEOUT = new Integer(100); /** Zero Timeout value */ private static Integer ZERO_TIMEOUT = new Integer(0); @@ -89,6 +89,8 @@ public class DatastoreTimeout extends JD /** Method testing DatastoreReadTimeout. */ public void testDatastoreReadTimeout() throws Exception { + if (debug) logger.debug("isDatastoreTimeoutSupported:" + isDatastoreTimeoutSupported()); + // Parallel thread writing the instances and causing them to be locked ThreadExceptionHandler group = new ThreadExceptionHandler(); ParallelWriter runnable = new ParallelWriter(THREAD_SLEEP_MILLIS_LONG); @@ -119,6 +121,8 @@ public class DatastoreTimeout extends JD /** Method testing DatastoreWriteTimeout. */ public void testDatastoreWriteTimeout() throws Exception { + if (debug) logger.debug("isDatastoreTimeoutSupported:" + isDatastoreTimeoutSupported()); + // Parallel thread reading the instances and causing them to be locked ThreadExceptionHandler group = new ThreadExceptionHandler(); ParallelReader runnable = new ParallelReader(THREAD_SLEEP_MILLIS_LONG);