Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 67850 invoked from network); 27 Sep 2006 13:49:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Sep 2006 13:49:10 -0000 Received: (qmail 26298 invoked by uid 500); 27 Sep 2006 13:49:10 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 26197 invoked by uid 500); 27 Sep 2006 13:49:09 -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 26188 invoked by uid 99); 27 Sep 2006 13:49:09 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Sep 2006 06:49:09 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=Fernanda.Pizzorno@Sun.COM; spf=permerror X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received-SPF: error (idunn.apache.osuosl.org: domain Sun.COM from 192.18.1.36 cause and error) Received: from [192.18.1.36] ([192.18.1.36:56252] helo=gmp-ea-fw-1.sun.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 82/30-27227-4518A154 for ; Wed, 27 Sep 2006 06:49:09 -0700 Received: from d1-emea-09.sun.com ([192.18.2.119]) by gmp-ea-fw-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id k8RDn1WJ004090 for ; Wed, 27 Sep 2006 14:49:05 +0100 (BST) Received: from conversion-daemon.d1-emea-09.sun.com by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0J69000017OW4X00@d1-emea-09.sun.com> (original mail from Fernanda.Pizzorno@Sun.COM) for derby-dev@db.apache.org; Wed, 27 Sep 2006 14:49:01 +0100 (BST) Received: from [129.159.112.237] by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <0J69007OL7POCZV7@d1-emea-09.sun.com> for derby-dev@db.apache.org; Wed, 27 Sep 2006 14:49:01 +0100 (BST) Date: Wed, 27 Sep 2006 15:49:00 +0200 From: Fernanda Pizzorno Subject: Re: Converting LOB related tests to Junit In-reply-to: <45196B1D.9000508@sbcglobal.net> Sender: Fernanda.Pizzorno@Sun.COM To: derby-dev@db.apache.org Message-id: <451A814C.40908@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <45193599.5010802@sun.com> <45196B1D.9000508@sbcglobal.net> User-Agent: Thunderbird 1.5.0.5 (X11/20060730) X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Do you think I should change the categories I am using (S/M/L) and maybe add some more (XS, XL and XXL), or just write down the size of the lob used to test with instead? - Fernanda Mike Matrigali wrote: > From the store side it is interesting to test lob's that are either > smaller than a page or larger than a page - these will go through > 2 separate code paths. So it would be nice if the > new tests included these boundaries. Safest would probably be to > include a 1000 byte/char lob and a 100k blob. > > After that there seem to be 2 interesting boundaries: > o a lob bigger than available memory to the jvm, to test whether lob > is getting instantiated in memory or not. Hopefully at some point > we will ge to the point where this never happens but I don't think > we are there yet - especially for network server case. > > o the max size lob (i forget if it is 2 gig or 2 gig-1). This test > may want to be separate as it may require resources that some > developers won't have. > > Fernanda Pizzorno wrote: >> I have started converting LOB related tests to Junit. The aim with >> this is to document the coverage of the LOB related tests. I am >> interested in finding out: (1) what is being tested, (2) what is the >> LOB size used to test with (I have divided that into 3 categories >> Small, Medium and Large), and (3) which of the drivers (Embedded >> and/or Client) is being tested. >> >> I have created a wiki page to keep track of which of the tests have >> already been converted and had its coverage documented. This wiki >> page can be found at: >> http://wiki.apache.org/db-derby/ConvertLobTestsToJunit. I have used >> jdbcapi/lobStreams.java as an example of how I thought of documenting >> the test coverage. Suggestions, and help converting the tests and >> documenting are very welcome :). >> >> >> - Fernanda >>