Return-Path: X-Original-To: apmail-db-derby-commits-archive@www.apache.org Delivered-To: apmail-db-derby-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 726E6DB89 for ; Thu, 30 Aug 2012 21:34:27 +0000 (UTC) Received: (qmail 57409 invoked by uid 500); 30 Aug 2012 21:34:27 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 57366 invoked by uid 500); 30 Aug 2012 21:34:27 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 57358 invoked by uid 99); 30 Aug 2012 21:34:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2012 21:34:26 +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; Thu, 30 Aug 2012 21:34:25 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 0F00E238896F; Thu, 30 Aug 2012 21:33:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1379163 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ConnectionTest.java Date: Thu, 30 Aug 2012 21:33:42 -0000 To: derby-commits@db.apache.org From: myrnavl@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120830213343.0F00E238896F@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: myrnavl Date: Thu Aug 30 21:33:42 2012 New Revision: 1379163 URL: http://svn.apache.org/viewvc?rev=1379163&view=rev Log: DERBY-5912; testIsValidImplemented fails for NetworkServer in some slow running machines/configurations changing the timeout setting from 1 to 200 so the test will pass even in slow configurations Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ConnectionTest.java Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ConnectionTest.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ConnectionTest.java?rev=1379163&r1=1379162&r2=1379163&view=diff ============================================================================== --- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ConnectionTest.java (original) +++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ConnectionTest.java Thu Aug 30 21:33:42 2012 @@ -164,8 +164,10 @@ public class ConnectionTest // Test with an infinite (0) timeout assertTrue(getConnection().isValid(0)); - // Test with a 1 second timeout - assertTrue(getConnection().isValid(1)); + // Test with a large timeout. We expect + // to complete and succeed much sooner. + // see DERBY-5912 + assertTrue(getConnection().isValid(200)); // Test with an illegal timeout try {