Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-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 4B2FC9878 for ; Fri, 4 May 2012 18:55:10 +0000 (UTC) Received: (qmail 48693 invoked by uid 500); 4 May 2012 18:55:09 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 48647 invoked by uid 500); 4 May 2012 18:55:09 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 48639 invoked by uid 99); 4 May 2012 18:55:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2012 18:55:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2012 18:55:07 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id DA006430ACD for ; Fri, 4 May 2012 18:54:47 +0000 (UTC) Date: Fri, 4 May 2012 18:54:47 +0000 (UTC) From: "James Dyer (JIRA)" To: dev@lucene.apache.org Message-ID: <1814733631.28369.1336157687894.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <361797075.17784.1335977929964.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (SOLR-3430) DIH: More-realistic testing & subsequent bug fix 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/SOLR-3430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Dyer updated SOLR-3430: ----------------------------- Attachment: SOLR-3430.patch this update also contains a fix in "testJdbcDataSource", which was not cleaning up a registered datasource causing the new test to fail. > DIH: More-realistic testing & subsequent bug fix > ------------------------------------------------ > > Key: SOLR-3430 > URL: https://issues.apache.org/jira/browse/SOLR-3430 > Project: Solr > Issue Type: Bug > Components: contrib - DataImportHandler > Affects Versions: 3.6, 4.0 > Reporter: James Dyer > Assignee: James Dyer > Priority: Minor > Fix For: 4.0, 3.6.1 > > Attachments: SOLR-3430.patch, SOLR-3430.patch, SOLR-3430.patch, derby-10.8.2.2.jar, derby-10.8.2.2.jar.sha1, derby-LICENSE-ASL.txt, derby-NOTICE.txt > > > A couple of people have mentioned on the users' list that 3.6 changes break CachedSqlEntityProcessor. Part of the problem is the current DIH tests are not realistic: they mostly test 1 class at a time and not the full end-to-end interactions between components. > This is a test of (Cached) SqlEntityProcessor using an in-memory Derby database. This hopefully is a first step in creating a series of new, more-rigorous DIH tests, which is needed in order to make changes without worry. > This also revealed a bug in SortedMapBackedCache, which is fixed also. I'm not sure this is the same bug causing problems for the 2 users but once committed I will post a reply on the users' list to see if they can try it. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org