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 E961C107DC for ; Tue, 28 Jan 2014 06:08:45 +0000 (UTC) Received: (qmail 57590 invoked by uid 500); 28 Jan 2014 06:08:45 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 57320 invoked by uid 500); 28 Jan 2014 06:08:42 -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 57260 invoked by uid 99); 28 Jan 2014 06:08:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jan 2014 06:08:39 +0000 Date: Tue, 28 Jan 2014 06:08:38 +0000 (UTC) From: "Myrna van Lunteren (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DERBY-3955) test lang/selectivity.sql can be revived MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-3955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Myrna van Lunteren updated DERBY-3955: -------------------------------------- Attachment: DERBY-3955.diff4 Attaching a patch which attempts to address further instability in the SelectivityTest by adding update statistics calls to each fixture before doing any tests; hopefully that will ensure this works correctly for any jvm. It works with Oracle prerelease u5 and my ibm 17 sr6... This patch is bigger though because it's also adding number of other run-time statistics text checks. I will commit this shortly. > test lang/selectivity.sql can be revived > ---------------------------------------- > > Key: DERBY-3955 > URL: https://issues.apache.org/jira/browse/DERBY-3955 > Project: Derby > Issue Type: Improvement > Components: Test > Reporter: Myrna van Lunteren > Assignee: Myrna van Lunteren > Priority: Minor > Attachments: DERBY-3955.diff1, DERBY-3955.diff2, DERBY-3955.diff3, DERBY-3955.diff4, derby-3955_sanityCheck_dont_commit_diff.txt, oldSelectivity.java > > > One test that was contributed during the IBM contribution of derby code was not runnable at the time - lang/selectivity.sql. > This test is still there, and I think might have some valuable regression tests if it gets adapted to the current functionality in Derby. > Ideally too, it should get converted to junit, or at least be made to run through the langScripts junit suite. -- This message was sent by Atlassian JIRA (v6.1.5#6160)