Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 97193 invoked from network); 29 May 2006 17:06:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 May 2006 17:06:20 -0000 Received: (qmail 30785 invoked by uid 500); 29 May 2006 17:06:20 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 30564 invoked by uid 500); 29 May 2006 17:06:19 -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 30554 invoked by uid 99); 29 May 2006 17:06:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 May 2006 10:06:19 -0700 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, 29 May 2006 10:06:18 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8B6567142F1 for ; Mon, 29 May 2006 17:05:30 +0000 (GMT) Message-ID: <3254858.1148922330568.JavaMail.jira@brutus> Date: Mon, 29 May 2006 17:05:30 +0000 (GMT+00:00) From: "Tomohito Nakayama (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-1303) The test of derbynet/SuicideOfStreaming.java is failed when programs are build as Insane. In-Reply-To: <32932246.1147105881848.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-1303?page=comments#action_12413728 ] Tomohito Nakayama commented on DERBY-1303: ------------------------------------------ Hello. My thoughts are as next... 1) Tests may be runnable as independent program , but not needed to be. Now we have *.junit support in our test framework, then runnablitily of each tests is not needed. However, there are no need to prohibit it. 2) Yes. I think we need support for starting and shutdown network server from tests. I saw several tests which start annd shutdown network server, not only derbynet/SuicideOfStreaming.junit, derbynet/dataSourcePermissions_net.java ,which was touched in DERBY-273 , for example. Then, I think it is natural to support start/shutdown network server in test framework. I prefer to implement code to support this , in class methods of subclass from BaseJDBCTestCase. However, it should be left to programmer who works for it :) About your two option of "a) or b)", I think it should be possible for programmer who implement each tests to choose which. I think question of "a) or b)" depends on what the individual test does. Then framework code should support both of them. 3) I thnk we can place *.junit tests in the same directory as other tests, because *.junit are tests in the same way as others. However,I think we should have the list that tells which tests are executed as *.junit. (I think this list should be existed not only for *.junit ,but also for *.java *.sql *.unit ... That list would help us.) > The test of derbynet/SuicideOfStreaming.java is failed when programs are build as Insane. > ----------------------------------------------------------------------------------------- > > Key: DERBY-1303 > URL: http://issues.apache.org/jira/browse/DERBY-1303 > Project: Derby > Type: Bug > Components: Test > Environment: http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/Limited/testSummary-405038.html > Reporter: Tomohito Nakayama > Assignee: Tomohito Nakayama > Attachments: DERBY-1303.patch > > "derbynet/SuicideOfStreaming.java" have dependency on build as Sane. > When programs are build as Insane, > code to cause artificial Exception is not compiled and > streaming does not failed in derbynet/SuicideOfStreaming.java as expected in this test program. > The dependency results in fail of derbynet/SuicideOfStreaming.java when programs are comiled as insane. -- 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