[ https://issues.apache.org/jira/browse/LUCENE-4630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13531635#comment-13531635 ]
Uwe Schindler commented on LUCENE-4630: --------------------------------------- I am fine with such a system property and also some code to warn user of several incompatible combinations, but I want to be able to run tests to find the problems behind the issue. In my opinion, we should really warn users also on Solr startup, if they have jRockit (this JVM only works with Lucene if you pass -XnoOpt) or J9 (fails with Lucene 4.0+), so they don't corrumpt their index. Please note: Policeman Jenkins (before it was shot by some Generics Drug Dealer) was running JRockit with this JVM option. > add a system property to allow testing of suspicious stuff > ---------------------------------------------------------- > > Key: LUCENE-4630 > URL: https://issues.apache.org/jira/browse/LUCENE-4630 > Project: Lucene - Core > Issue Type: Bug > Reporter: Hoss Man > Priority: Blocker > Fix For: 4.1 > > > there are times when people want to add assumptions in test to prevent > confusing/false failures in certain situations (eg: known bugs in JVM X, > known incompatibilities between lucene feature Z and filesystem Y, etc...) > By default we want these situations to be "skiped" in tests with clear > messages so that it's clear to end users trying out releases that these tests > can't be run for specific sitautions. > But at the same time we need a way for developers to be able to try running > these tests anyway so we know if/when the underliyng problem is resolved. > i propose we add a "tests.suspicious.shit" system property, which defaults to > "false" in the javacode, but can be set at runtime to "true" > assumptions about things like incompatibilities with OSs, JVM vendors, JVM > versions, filesystems, etc.. can all be dependent on this system propery. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators 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