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 24A9A9D5E for ; Tue, 13 Mar 2012 01:43:02 +0000 (UTC) Received: (qmail 6253 invoked by uid 500); 13 Mar 2012 01:43:01 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 6202 invoked by uid 500); 13 Mar 2012 01:43:01 -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 6195 invoked by uid 99); 13 Mar 2012 01:43:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Mar 2012 01:43:01 +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; Tue, 13 Mar 2012 01:42:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C37C01CB51 for ; Tue, 13 Mar 2012 01:42:37 +0000 (UTC) Date: Tue, 13 Mar 2012 01:42:37 +0000 (UTC) From: "Myrna van Lunteren (Commented) (JIRA)" To: derby-dev@db.apache.org Message-ID: <1928732639.6122.1331602957873.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1745394481.5956.1331600452398.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DERBY-5649) make improvements to nstest so it's easier to run/analyze/debug MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-5649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228123#comment-13228123 ] Myrna van Lunteren commented on DERBY-5649: ------------------------------------------- Also found two e.printStackTrace(); calls in DbUtil. One should do. > make improvements to nstest so it's easier to run/analyze/debug > --------------------------------------------------------------- > > Key: DERBY-5649 > URL: https://issues.apache.org/jira/browse/DERBY-5649 > Project: Derby > Issue Type: Task > Components: Test > Affects Versions: 10.9.0.0 > Reporter: Myrna van Lunteren > Assignee: Myrna van Lunteren > Priority: Minor > > The system test nstest ran into a number of error situations during the 10.8.2 QA cycle. However, some are known, some were found to be pre-existing situations (although intermittent, so we've been lucky/unlucky not to run into them). Some errors are expected. And some problems were indeed new. > However, the test output is very wordy and it's complicated identifying real issues and sorting through the messages. > It would be helpful to clean this up some. > I found the following areas for easy improvement: > - InitThread messages and Intializer.java: exited add_one_row: 1 rows > seems like this is really the same message. > If we eliminate one, we'll have limited that part of the output by 50%. > - TesterThreads - seems to send one message re 'attempting to', one for fail/success. > Again, if we eliminate the 'attempted to' messages, we'd have made the output smaller. > - db_util.pick_one - seems also unnecessary - can this be combined with the > insert / update / delete messages that are using the picked row? > - ERROR 22003 -> The resulting value is ourside the range for data type DECIMAL/NUMERIC(5,0) > The column is t_decimal(decimal), i.e. a decimal(5,0). The value it's attempting to insert is clearly > not suitable. From the code (in dbUtil) it does not look like this was intended to be a negative test. > Eliminating the error (and its corresponding stack prints) would probably make the output considerably smaller > and make looking for interesting errors easier. > - There seems to be a section that can be used as a smaller test case, but you need to comment out the 'normal' settings, and uncomment out these settings. It would make more sense to make the small configuration as an option. > - With a small configuration, the backup thread would run on when all other tests are done, because it has the same > value for MAX_ITERATIONS, but in contrast to the tester threads, the backup threads runs every 10 minutes. > Thus, when all other threads are done, the backup threads continue until 50x10 minutes have passed (plus the time it takes to actually do the backup, re-encrypt, restore). So it would make more sense to finish the backup threads if there is no further activity to the database. > - there are some typos and strange line-spacings making some comments hard to read. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira