You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2012/09/18 17:09:49 UTC

svn commit: r1387213 - in /lucene/dev/branches/branch_4x: ./ lucene/ lucene/common-build.xml

Author: uschindler
Date: Tue Sep 18 15:09:48 2012
New Revision: 1387213

URL: http://svn.apache.org/viewvc?rev=1387213&view=rev
Log:
Merged revision(s) 1387212 from lucene/dev/trunk:
SOLR-3849: Pass "-Djava.awt.headless=true" to test runner to prevent enabling AWT, spawning threads and modifying sysprops. Tests need no GUI and this also mimics the behaviour of the default startup scripts of Tomcat and Jetty.

Modified:
    lucene/dev/branches/branch_4x/   (props changed)
    lucene/dev/branches/branch_4x/lucene/   (props changed)
    lucene/dev/branches/branch_4x/lucene/common-build.xml   (contents, props changed)

Modified: lucene/dev/branches/branch_4x/lucene/common-build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/common-build.xml?rev=1387213&r1=1387212&r2=1387213&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/common-build.xml (original)
+++ lucene/dev/branches/branch_4x/lucene/common-build.xml Tue Sep 18 15:09:48 2012
@@ -876,6 +876,9 @@
             <sysproperty key="jetty.testMode" value="1"/>
             <sysproperty key="jetty.insecurerandom" value="1"/>
             <sysproperty key="solr.directoryFactory" value="org.apache.solr.core.MockDirectoryFactory"/>
+            
+            <!-- disable AWT while running tests -->
+            <sysproperty key="java.awt.headless" value="true"/>
 
             <!-- Only pass these to the test JVMs if defined in ANT. -->
             <syspropertyset>