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 A1238E0E1 for ; Fri, 15 Feb 2013 17:25:13 +0000 (UTC) Received: (qmail 65749 invoked by uid 500); 15 Feb 2013 17:25:13 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 65714 invoked by uid 500); 15 Feb 2013 17:25:13 -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 65604 invoked by uid 99); 15 Feb 2013 17:25:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Feb 2013 17:25:13 +0000 Date: Fri, 15 Feb 2013 17:25:13 +0000 (UTC) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (DERBY-6073) Test ordering instability in StatementPoolingTest 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-6073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick Hillegas reassigned DERBY-6073: ------------------------------------ Assignee: (was: Rick Hillegas) > Test ordering instability in StatementPoolingTest > ------------------------------------------------- > > Key: DERBY-6073 > URL: https://issues.apache.org/jira/browse/DERBY-6073 > Project: Derby > Issue Type: Bug > Components: Test > Affects Versions: 10.9.1.0, 10.10.0.0 > Environment: Java 7, Java 8 > Reporter: Rick Hillegas > Attachments: derby-6073-01-aa-fixTestCaseOrder.diff, derby-6073-02-aa-java8tweak.diff, z.diff > > > StatementPoolingTest.testPoolingEnabledByCheckingImplementationDetails() assumes that the client-side statement cache will have been primed by a previous test case, testCacheOverflow(). On Java 7 and Java 8 the test order is not deterministic. If testPoolingEnabledByCheckingImplementationDetails() is the first test case to run, then it fails with this error: > org.apache.derbyTesting.functionTests.tests.jdbcapi.StatementPoolingTest.assertClassName(StatementPoolingTest.java:147) > at org.apache.derbyTesting.functionTests.tests.jdbcapi.StatementPoolingTest.testPoolingEnabledByCheckingImplementationDetails(StatementPoolingTest.java:89) > I will attach a patch which forces testPoolingEnabledByCheckingImplementationDetails() to be first in the test order. With this patch, StatementPoolingTest fails for me on Java 7 when run on the 10.9 branch as well as on trunk. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira