Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 49322 invoked from network); 11 May 2006 16:25:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 May 2006 16:25:58 -0000 Received: (qmail 84673 invoked by uid 500); 11 May 2006 16:25:54 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 84565 invoked by uid 500); 11 May 2006 16:25:53 -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 84489 invoked by uid 99); 11 May 2006 16:25:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 May 2006 09:25:53 -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; Thu, 11 May 2006 09:25:51 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1936A41000F for ; Thu, 11 May 2006 16:25:06 +0000 (GMT) Message-ID: <25430925.1147364706100.JavaMail.jira@brutus> Date: Thu, 11 May 2006 16:25:06 +0000 (GMT+00:00) From: "Deepa Remesh (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-514) Integrate upgrade tests into test suite In-Reply-To: <1226651007.1124370240578.JavaMail.jira@ajax.apache.org> 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-514?page=all ] Deepa Remesh updated DERBY-514: ------------------------------- Attachment: derby-514-runwithclasses.diff derby-514-runwithclasses.status Attaching a patch 'derby-514-runwithclasses.diff' which enables upgrade suite to run with classes folder. This patch will resolve this issue fully. This patch adds upgrade suite to derbyall and also removes the previous upgrade test folder which is not used now. Initially, I had thought the following to be an issue when running with classes folder: "Currently, we are using the test classes (derbyTesting.jar) from new version in all cases. This separation is not possible when we use classes folder." Now, I have added the whole classes folder from new version at the end of search path of the old class loader. This means any classes which are added in the new version but not present in the old version will be available to the old class loader. This may limit testing certain upgrade features. However, this will be caught by running the test with jar files where we have a clear separation. With this patch, I ran the upgrade suite with both sane jars and classes. I also ran derbyall with classes and checked that upgrade test passes. Tests run with Sun JDK1.4.2 on Windows XP. Please take a look at this patch. Thanks. > Integrate upgrade tests into test suite > --------------------------------------- > > Key: DERBY-514 > URL: http://issues.apache.org/jira/browse/DERBY-514 > Project: Derby > Type: Test > Components: Test > Versions: 10.1.2.0, 10.2.0.0 > Reporter: Kathey Marsden > Assignee: Deepa Remesh > Fix For: 10.2.0.0 > Attachments: derby-514-buildfiles-v1.diff, derby-514-buildfiles-v1.status, derby-514-patch1-v1.diff, derby-514-patch1-v1.status, derby-514-patch2-runtest-v1.diff, derby-514-patch2-runtest-v1.status, derby-514-patch3-v1.diff, derby-514-patch3-v1.status, derby-514-patch3-v2.diff, derby-514-patch3-v2.status, derby-514-patch4-sed.diff, derby-514-patch4-sed.status, derby-514-patch5-addtoderbyall.diff, derby-514-patch5-addtoderbyall.status, derby-514-patch6-build_changes.diff, derby-514-patch6-build_changes.status, derby-514-patch7-andrew.diff, derby-514-patch7-v2.diff, derby-514-runwithclasses.diff, derby-514-runwithclasses.status > > Currently there are no upgrade tests in the derbyAll suite. > The upgrade tests java/testing/org/apache/derbyTesting are run by script and require that the version to be tested by specified on the command line so that the classpath can be changed. > # runphases old_major old_minor old_engine new_engine > # > # e.g. > # > # runphases 10 0 c:/derby/10.0.2.1/lib c:/derby/trunk/jars/sane > Perhaps this script can be rewritten in Java using class loaders and previous Derby verssions such as 10.0 and 10.1 be checked in so that this testing can be incorporated into the derbyAll test suite. -- 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