[
https://issues.apache.org/jira/browse/SOLR-6276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14073576#comment-14073576
]
Hoss Man commented on SOLR-6276:
--------------------------------
the key bit here is that the reason the new TestJdbcDataSourceConvertType fails
on some test Locales is because derby can't handle those locales and it's
constructing the jdbc drivers directly.
the reason other tests don't have problems like this, is because in
AbstractDIHJdbcTestCase, where most of hte other JDBC related DIH tests do
their DB setup, there is a special check for this type of exception from derby
and skips the test when they happen.
we should remove this code from AbstractDIHJdbcTestCase, and just update all of
the JDBC test connect strings to use an explicit locale...
https://issues.apache.org/jira/browse/DERBY-4854
"jdbc:derby:memory:tempDB;create=true;territory=en_US"
See also...
https://mail-archives.apache.org/mod_mbox/lucene-dev/201211.mbox/%3CCAOdYfZWt=fiycm1wmsjsannwmzqec4trqoq2pyuuyfwyjws...@mail.gmail.com%3E
> DIH test failures with invalid locale in derby JDBC driver
> ----------------------------------------------------------
>
> Key: SOLR-6276
> URL: https://issues.apache.org/jira/browse/SOLR-6276
> Project: Solr
> Issue Type: Bug
> Components: contrib - DataImportHandler
> Affects Versions: 4.8.1
> Reporter: Noble Paul
> Assignee: Noble Paul
> Priority: Minor
>
> http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/10879/testReport/junit/org.apache.solr.handler.dataimport/TestJdbcDataSourceConvertType/testConvertType/
> We should pass the locale explicitly in the connection url params
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]