Repository: spark
Updated Branches:
  refs/heads/branch-1.1 5b30e0018 -> 0d47bb642


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 <sro...@gmail.com>

Closes #1747 from srowen/SPARK-2602 and squashes the following commits:

b141018 [Sean Owen] Set java.awt.headless during tests
(cherry picked from commit 33f167d762483b55d5d874dcc1e3075f661d4375)

Signed-off-by: Patrick Wendell <pwend...@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/0d47bb64
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/0d47bb64
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/0d47bb64

Branch: refs/heads/branch-1.1
Commit: 0d47bb642f645c3c8663f4bdf869b5337ef9cb35
Parents: 5b30e00
Author: Sean Owen <sro...@gmail.com>
Authored: Sat Aug 2 21:44:19 2014 -0700
Committer: Patrick Wendell <pwend...@gmail.com>
Committed: Sat Aug 2 21:44:33 2014 -0700

----------------------------------------------------------------------
 pom.xml | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/0d47bb64/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index a427591..cc9377c 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>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to