[jira] [Updated] (SOLR-3430) DIH: More-realistic testing subsequent bug fix

2012-05-07 Thread James Dyer (JIRA)

 [ 
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

I added a check to the # of queries being issued to the datasource and found an 
additional bug.  This is likely the bug users are reporting on the mailing list.

I will commit now to Trunk  3.6.1 .

 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, 
 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-3430) DIH: More-realistic testing subsequent bug fix

2012-05-07 Thread Robert Muir (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-3430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir updated SOLR-3430:
--

Attachment: SOLR-3430_build.patch

James thanks for adding these tests!

Attached (SOLR-3430_build.patch) is a tiny tweak to the build: currently DIH 
tests can fail if 'ant example' has not previously been run (because the 
hsqldb.jar might not be resolved).

So this patch ensures the hsqldb.jar is always resolved.

 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, 
 SOLR-3430.patch, SOLR-3430_build.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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-3430) DIH: More-realistic testing subsequent bug fix

2012-05-04 Thread James Dyer (JIRA)

 [ 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-3430) DIH: More-realistic testing subsequent bug fix

2012-05-02 Thread James Dyer (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-3430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Dyer updated SOLR-3430:
-

Attachment: derby-LICENSE-ASL.txt
derby-10.8.2.2.jar.sha1
derby-10.8.2.2.jar
derby-NOTICE.txt
SOLR-3430.patch

 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, 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org