Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 69149 invoked from network); 1 Apr 2009 09:13:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Apr 2009 09:13:36 -0000 Received: (qmail 41572 invoked by uid 500); 1 Apr 2009 09:13:36 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 41501 invoked by uid 500); 1 Apr 2009 09:13:36 -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 41302 invoked by uid 99); 1 Apr 2009 09:13:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 09:13:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 09:13:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 753A5234C003 for ; Wed, 1 Apr 2009 02:13:14 -0700 (PDT) Message-ID: <939810490.1238577194478.JavaMail.jira@brutus> Date: Wed, 1 Apr 2009 02:13:14 -0700 (PDT) From: "Kristian Waagan (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4135) Failure in BlobClob4BlobTest due to wrong results being returned In-Reply-To: <123938989.1238519810798.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694433#action_12694433 ] Kristian Waagan commented on DERBY-4135: ---------------------------------------- I believe this has already been fixed under DERBY-4122, by patch 1a. > Failure in BlobClob4BlobTest due to wrong results being returned > ---------------------------------------------------------------- > > Key: DERBY-4135 > URL: https://issues.apache.org/jira/browse/DERBY-4135 > Project: Derby > Issue Type: Bug > Components: Regression Test Failure > Affects Versions: 10.5.1.0 > Environment: Windows Vista 64, Sun JDK 1.6.0_10, Junit 3.8.2 > Reporter: Suran Jayathilaka > Assignee: Kristian Waagan > Priority: Critical > > This bug was found when doing soft upgrade testing from Derby version 10.4.2.0 to 10.5.1.0 (RC1) > The assertion failure is caused by wrong results being returned. > Steps to reproduce are as follows. > 1. Run setEmbeddedCP.bat from version 10.4.2.0's bin folder > 2. In a test folder run ij > 3. create system/wombat database. > ij> connect 'jdbc:derby:system/wombat;create=true'; > 4. exit ij > 5. Copy the 10.5.1.0 derby jars (from lib folder) and the derbyTesting.jar from 10.4.2.0 to the test folder and set classpath with them (including junit and ORO) > 6. Run testcase > java -Xmx512M -Xms512M -Dderby.tests.trace=true junit.textui.TestRunner org.apache.derbyTesting.functionTests.tests.jdbcapi.BlobClob4BlobTest > The stack trace specific to this failure is as follows. > ---------------------------------------------------------------------- > 3) testUnconsumedParameter(org.apache.derbyTesting.functionTests.tests.jdbcapi.BlobClob4BlobTest)junit.framework.AssertionFailedError: Column value mismatch @ column '1', row 1: > Expected: >38000< > Found: >38002< > at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1094) > at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1006) > at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:894) > at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:832) > at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:790) > at org.apache.derbyTesting.junit.JDBC.assertSingleValueResultSet(JDBC.java:775) > at org.apache.derbyTesting.functionTests.tests.jdbcapi.BlobClob4BlobTest.testUnconsumedParameter(BlobClob4BlobTest.java:179) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:102) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) > at junit.extensions.TestSetup$1.protect(TestSetup.java:21) > at junit.extensions.TestSetup.run(TestSetup.java:25) > at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) > at junit.extensions.TestSetup$1.protect(TestSetup.java:21) > at junit.extensions.TestSetup.run(TestSetup.java:25) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) > at junit.extensions.TestSetup$1.protect(TestSetup.java:21) > at junit.extensions.TestSetup.run(TestSetup.java:25) > at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) > at junit.extensions.TestSetup$1.protect(TestSetup.java:21) > at junit.extensions.TestSetup.run(TestSetup.java:25) > at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57) > ---------------------------------------------------------------------------------- > This failure can be seen when running this test as part of suites.All as well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.