lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Rowe (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-8778) CSVStrategy's pre-defined static strategies should be immutable
Date Thu, 03 Mar 2016 00:00:21 GMT
Steve Rowe created SOLR-8778:
--------------------------------

             Summary: CSVStrategy's pre-defined static strategies should be immutable
                 Key: SOLR-8778
                 URL: https://issues.apache.org/jira/browse/SOLR-8778
             Project: Solr
          Issue Type: Bug
            Reporter: Steve Rowe


Removing some deprecated things in CSVStrategy (SOLR-8764) exposed a bug: it's possible to
redefine the public static {{CSVStrategy.\{DEFAULT,EXCEL,TDF}_STRATEGY}} strategies, simply
by calling their setters.

Right now that's happening in {{CSVParserTest.testUnicodeEscape()}}, where the default unicode
escape interpretation is changed from false to true.  And then if that test happens to run
before {{CSVStrategyTest.testSetCSVStrategy()}}, which tests that the unicode escape interpretation
on the default strategy is set to false, then the latter will fail.

Example failures: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/16079/ and http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-MacOSX/3126/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message