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 0AD2BE488 for ; Thu, 14 Feb 2013 06:38:48 +0000 (UTC) Received: (qmail 79462 invoked by uid 500); 14 Feb 2013 06:38:47 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 79268 invoked by uid 500); 14 Feb 2013 06:38:46 -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 79231 invoked by uid 99); 14 Feb 2013 06:38:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2013 06:38:45 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of msatoor@gmail.com designates 74.125.82.173 as permitted sender) Received: from [74.125.82.173] (HELO mail-we0-f173.google.com) (74.125.82.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2013 06:38:37 +0000 Received: by mail-we0-f173.google.com with SMTP id r5so1603809wey.4 for ; Wed, 13 Feb 2013 22:38:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=fNwGk3wQb8kR/LnaYlq/cCc0bRv3NzOD0FLZjMU3tQA=; b=BBRtWo0mkoSFnnvIBtQdsMVoMB/EOeDq2YHcsN8ODeoX9ey2lXfRMp2sfY3X7F9niu /3UmCHwZnKnDm8KyX5fCscZl2g1X+tzq4Tune4DyZDD0Lr/hhc9Ewcnp8k69ldDvZvDy /Jh5Q5g4s/FMtEyAy18Jvu3SPFREn7r9rOPNxDy9olFb5mAnzEvHqewyu9KI8Woba4Zn m7VJnkd/FYkeflMxWUc1MVEQohr8q5ottXfuPLrkDZ3cHanfz3rMfQoKFECSWomcUUAc QTIplLcn2WxD3GKKo36Nfchb3OOi6vi9HRqwm2KuVFkOZ1ky8S9VPZPD2EZbfAFdAFOE VSBg== MIME-Version: 1.0 X-Received: by 10.180.92.39 with SMTP id cj7mr14597824wib.19.1360823896801; Wed, 13 Feb 2013 22:38:16 -0800 (PST) Received: by 10.216.232.163 with HTTP; Wed, 13 Feb 2013 22:38:16 -0800 (PST) Date: Wed, 13 Feb 2013 22:38:16 -0800 Message-ID: Subject: Question about setting a database property only for one test fixture rather than the entire junit test From: Mamta Satoor To: Derby Development Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, I was wondering if there is a way to set a database property only for one test fixture within a junit test with many test fixtures. I recently added a test fixture xtestDerby6045 in org.apache.derbyTesting.functionTests.tests.lang.InListMultiProbeTest(I have purposely named it to start with an x because the test will fail until DERBY-6045 is fixed) and in that fixture, I would like to disable background update statistics for it setting the property derby.storage.indexStats.auto to false. The other fixtures in InListMultiProbeTest should not have background update statistics disabled for them. I would appreciate any pointers regarding this. I looked at some of the existing junit suites and see that the various property settings are done for the entire suite and not just one fixture. thanks, Mamta