Return-Path: X-Original-To: apmail-river-commits-archive@www.apache.org Delivered-To: apmail-river-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A7FEDE7B1 for ; Sun, 10 Mar 2013 06:08:42 +0000 (UTC) Received: (qmail 50154 invoked by uid 500); 10 Mar 2013 06:08:41 -0000 Delivered-To: apmail-river-commits-archive@river.apache.org Received: (qmail 50066 invoked by uid 500); 10 Mar 2013 06:08:38 -0000 Mailing-List: contact commits-help@river.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@river.apache.org Delivered-To: mailing list commits@river.apache.org Received: (qmail 50016 invoked by uid 99); 10 Mar 2013 06:08:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Mar 2013 06:08:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.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; Sun, 10 Mar 2013 06:08:36 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id D532B238897F; Sun, 10 Mar 2013 06:08:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1454794 - in /river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/spec/javaspace/conformance/snapshot: SnapshotExpirationNotifyTest.java SnapshotExpirationNotifyTest.td Date: Sun, 10 Mar 2013 06:08:16 -0000 To: commits@river.apache.org From: peter_firmstone@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130310060816.D532B238897F@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: peter_firmstone Date: Sun Mar 10 06:08:16 2013 New Revision: 1454794 URL: http://svn.apache.org/r1454794 Log: Refactored to use configuration. Modified: river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotExpirationNotifyTest.java river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotExpirationNotifyTest.td Modified: river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotExpirationNotifyTest.java URL: http://svn.apache.org/viewvc/river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotExpirationNotifyTest.java?rev=1454794&r1=1454793&r2=1454794&view=diff ============================================================================== --- river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotExpirationNotifyTest.java (original) +++ river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotExpirationNotifyTest.java Sun Mar 10 06:08:16 2013 @@ -47,13 +47,6 @@ import com.sun.jini.test.spec.javaspace. * @author Mikhail A. Markov */ public class SnapshotExpirationNotifyTest extends TransactionTest { - - public Test construct(QAConfig config) throws Exception { - super.construct(config); - timeout1 = getConfig().getLongConfigVal(pkgName + ".timeout1", 9990); - timeout2 = getConfig().getLongConfigVal(pkgName + ".timeout2", 19990); - return this; - } /** * This method asserts, that the request specified by a Modified: river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotExpirationNotifyTest.td URL: http://svn.apache.org/viewvc/river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotExpirationNotifyTest.td?rev=1454794&r1=1454793&r2=1454794&view=diff ============================================================================== --- river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotExpirationNotifyTest.td (original) +++ river/jtsk/skunk/qa_refactor/trunk/qa/src/com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotExpirationNotifyTest.td Sun Mar 10 06:08:16 2013 @@ -1,3 +1,12 @@ testClass=SnapshotExpirationNotifyTest testCategories=javaspace,javaspace_spec,javaspace_conformance,snapshot include0=../javaspace.properties +# timeout2 must be greater than (timeout1 + instantTime) +# it is recommended that timeout2 be greater than (timeout1 + 2*instantTime) +com.sun.jini.test.spec.javaspace.conformance.timeout1=9990 +com.sun.jini.test.spec.javaspace.conformance.timeout2=19990 +# this value is used for checking read and take invocations* +com.sun.jini.test.spec.javaspace.conformance.checkTime=10000 +# general round trip time expected to non-blocking operations. +# should be set to checkTime / 2. +com.sun.jini.test.spec.javaspace.conformance.instantTime = 5000