[ https://issues.apache.org/jira/browse/SOLR-8527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Risden updated SOLR-8527: ------------------------------- Attachment: SOLR-8527.patch This patch uses try-with-resources on the JDBC connections, statements, and resultsets. The diff looks a lot better in IntelliJ ignoring the whitespace changes in front of the assert statements. > Improve JdbcTest to cleanup properly on failures > ------------------------------------------------ > > Key: SOLR-8527 > URL: https://issues.apache.org/jira/browse/SOLR-8527 > Project: Solr > Issue Type: Improvement > Components: SolrJ > Affects Versions: Trunk > Reporter: Kevin Risden > Attachments: SOLR-8527.patch > > > Currently if a test case fails in JdbcTest then resources are not closed > properly. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org