[ https://issues.apache.org/jira/browse/LUCENE-6474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonas van Vliet closed LUCENE-6474. ----------------------------------- Resolution: Invalid Should be posted in Solr board. > Maven test fails in solr/contrib/map-reduce > ------------------------------------------- > > Key: LUCENE-6474 > URL: https://issues.apache.org/jira/browse/LUCENE-6474 > Project: Lucene - Core > Issue Type: Bug > Components: general/test > Affects Versions: 5.1 > Reporter: Jonas van Vliet > Priority: Critical > Labels: maven, patch, test > > Maven test fails on the following package: > solr/contrib/map-reduce/ > (seen on solr6 trunk and solr 5.x branch) > The underlying problem seems to be that when running maven test, the java > security manager is not set. When running ant test, the security manager is > set to org.apache.lucene.util.TestSecurityManager. > The failing test is skipped while running ant test due to an assumption in > org/apache/solr/hadoop/MorphlineBasicMiniMRTest.java: > assumeTrue( > "Currently this test can only be run without the lucene test security > policy in place", > System.getProperty("java.security.manager", "").equals("")); > In maven, the test is not skipped and fails. > I propose aligning the ant and maven test so they use the same security > manager. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org