aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Owen <srowen@gmail.com>2014-08-02 21:44:19 -0700
committerPatrick Wendell <pwendell@gmail.com>2014-08-02 21:44:19 -0700
commit33f167d762483b55d5d874dcc1e3075f661d4375 (patch)
treebeff7ffe075ce543fef538cda3b4877e91d27507
parent1a8043739dc1d9435def6ea3c6341498ba52b708 (diff)
downloadspark-33f167d762483b55d5d874dcc1e3075f661d4375.tar.gz
spark-33f167d762483b55d5d874dcc1e3075f661d4375.tar.bz2
spark-33f167d762483b55d5d874dcc1e3075f661d4375.zip
SPARK-2602 [BUILD] Tests steal focus under Java 6
As per https://issues.apache.org/jira/browse/SPARK-2602 , this may be resolved for Java 6 with the java.awt.headless system property, which never hurt anyone running a command line app. I tested it and seemed to get rid of focus stealing. Author: Sean Owen <srowen@gmail.com> Closes #1747 from srowen/SPARK-2602 and squashes the following commits: b141018 [Sean Owen] Set java.awt.headless during tests
-rw-r--r--pom.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index a427591691..cc9377cec2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -871,6 +871,7 @@
<argLine>-Xmx3g -XX:MaxPermSize=${MaxPermGen} -XX:ReservedCodeCacheSize=512m</argLine>
<stderr/>
<systemProperties>
+ <java.awt.headless>true</java.awt.headless>
<spark.test.home>${session.executionRootDirectory}</spark.test.home>
<spark.testing>1</spark.testing>
</systemProperties>