Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 86281 invoked from network); 18 Sep 2006 16:04:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Sep 2006 16:04:27 -0000 Received: (qmail 92631 invoked by uid 500); 18 Sep 2006 16:04:22 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 92589 invoked by uid 500); 18 Sep 2006 16:04:22 -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 92562 invoked by uid 99); 18 Sep 2006 16:04:22 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Sep 2006 09:04:21 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 68FF9714304 for ; Mon, 18 Sep 2006 16:00:00 +0000 (GMT) Message-ID: <7849326.1158595200427.JavaMail.jira@brutus> Date: Mon, 18 Sep 2006 09:00:00 -0700 (PDT) From: "Mike Matrigali (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-1694) derbynet/testProperties.java hangs In-Reply-To: <25468487.1155616633851.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-1694?page=all ] Mike Matrigali updated DERBY-1694: ---------------------------------- I ran full set of successful tests against ibm 1.4.2 with the derby1694.p2.diff.txt. The changes as described seem like an improvement to the current tests so I would be happy to commit these, let me know if you want this first patch committed or if I should wait for other comments/changes to other tests. I welcome any incremental improvement to these network server tests which often intermittently fail in my environment. This test run was actually first in my last 6 or 7 that had no network server intermittent failures -- probably more related to my particular netork than this patch. > derbynet/testProperties.java hangs > ---------------------------------- > > Key: DERBY-1694 > URL: http://issues.apache.org/jira/browse/DERBY-1694 > Project: Derby > Issue Type: Bug > Components: Regression Test Failure > Affects Versions: 10.3.0.0 > Environment: Windows XP IBM 142 JRE > Reporter: Daniel John Debrunner > Fix For: 10.2.1.0 > > Attachments: derby1694.p2.diff.txt, derby1694.p2.stat.txt, derby1694diff.txt > > > The testProperties.execCmd() is used to fork a JVM and not handle its > streams. This will cause problems, as indicated by the javadoc for Process. > "The parent process uses these streams to feed input to and get output > from the subprocess. Because some native platforms only provide limited > buffer size for standard input and output streams, failure to promptly > write the input stream or read the output stream of the subprocess may > cause the subprocess to block, and even deadlock" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira