[TEST] Ignore bogus system properties.
LuceneTestCase might reset some solr properties that cause our tests to fail if the run before in the same JVM We just ignore solr properties.
This commit is contained in:
parent
3530c8be7e
commit
26adb37f09
|
@ -144,7 +144,8 @@ public abstract class AbstractRandomizedTest extends RandomizedTest {
|
|||
* @see #classRules
|
||||
*/
|
||||
private static final String[] IGNORED_INVARIANT_PROPERTIES = {
|
||||
"user.timezone", "java.rmi.server.randomIDs", "sun.nio.ch.bugLevel"
|
||||
"user.timezone", "java.rmi.server.randomIDs", "sun.nio.ch.bugLevel",
|
||||
"solr.directoryFactory", "solr.solr.home", "solr.data.dir" // these might be set by the LuceneTestCase -- ignore
|
||||
};
|
||||
|
||||
// -----------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue