Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CAE8442ED for ; Thu, 2 Jun 2011 20:22:28 +0000 (UTC) Received: (qmail 28143 invoked by uid 500); 2 Jun 2011 20:22:28 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 28125 invoked by uid 500); 2 Jun 2011 20:22:28 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 28118 invoked by uid 99); 2 Jun 2011 20:22:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 20:22:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 20:22:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5D6D9F1800 for ; Thu, 2 Jun 2011 20:21:47 +0000 (UTC) Date: Thu, 2 Jun 2011 20:21:47 +0000 (UTC) From: "Tiago R. Espinha (JIRA)" To: derby-dev@db.apache.org Message-ID: <684531170.64003.1307046107372.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2143848193.3821.1297205937491.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DERBY-5014) Tests should restore the timeout values to default after they are done running. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-5014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043028#comment-13043028 ] Tiago R. Espinha commented on DERBY-5014: ----------------------------------------- There's something I just noticed and I'd like to clear before committing the patch. There's two more tests that weren't converted nor mentioned here in the comments: - ResultSetsFromPreparedStatementTest.java This one seems to have its own mechanism to restore the lock timeout to the default. Mamta & Knut, did this test get flagged somewhere? On a very quick visual inspection, it seems like the timeouts are restored. - DatabaseMetaDataTest.java This test already uses the DatabasePropertyTestSetup decorator. Why was it included in this issue? > Tests should restore the timeout values to default after they are done running. > ------------------------------------------------------------------------------- > > Key: DERBY-5014 > URL: https://issues.apache.org/jira/browse/DERBY-5014 > Project: Derby > Issue Type: Bug > Components: Test > Affects Versions: 10.7.1.1 > Reporter: Mamta A. Satoor > Assignee: Siddharth Srivastava > Labels: derby_triage10_8 > Attachments: d5014_1.diff, d5014_1.diff > > > There are still couple more tests that change the lock time out during the test run but don't restore it to the default at the > end of the test. Knut already fixed this behavior for SetTransactionIsolationTest.java and ResultSetMiscTest.java as part of DERBY-4273 > Following are some additional tests that should be fixed > 1)ErrorMessageTest.java 2)StressMultiTest.java 3)Sttest.java 4)SysinfoTest.java 5)DatabaseMetaDataTest.java 6)ResultSetsFromPreparedStatementTest.java -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira