[ https://issues.apache.org/jira/browse/LUCENE-3847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235749#comment-13235749 ]
Dawid Weiss commented on LUCENE-3847: ------------------------------------- I know what's changing it. Eh. So -- there is a warning being printed: {noformat} Mar 22, 2012 6:20:33 PM org.apache.solr.core.Config parseLuceneVersionString WARNING: You should not use LUCENE_CURRENT as luceneMatchVersion property: if you use this setting, and then Solr upgrades to a newer release of Lucene, sizable changes may happen. If precise back compatibility is important then you should instead explicitly specify an actual Lucene version. Mar 22, 2012 6:20:33 PM org.apache.solr.analysis.BaseTokenStreamFactory warnDeprecated WARNING: RussianLetterTokenizerFactory is deprecated. Use StandardTokenizerFactory instead. {noformat} These warnings go through Java logging and this in turn is localized (date format, "warning" info, etc.). This in turn asks for the default TimeZone and this in turn sets the system property (I mentioned it a while ago). I suggest that we just ignore user.timezone as it is triggered from multiple locations and doesn't seem that important? > LuceneTestCase should check for modifications on System properties > ------------------------------------------------------------------ > > Key: LUCENE-3847 > URL: https://issues.apache.org/jira/browse/LUCENE-3847 > Project: Lucene - Java > Issue Type: Improvement > Components: general/test > Reporter: Dawid Weiss > Assignee: Dawid Weiss > Priority: Minor > Fix For: 3.6, 4.0 > > Attachments: LUCENE-3847.patch > > > - fail the test if changes have been detected. > - revert the state of system properties before the suite. > - cleanup after the suite. -- 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