HBASE-9547 Surefire steals focus on mac osx

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1523767 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2013-09-16 19:26:46 +00:00
parent cd63f2055e
commit 74da3e4480
2 changed files with 69 additions and 4 deletions

View File

@ -0,0 +1,66 @@
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
/**
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<configuration>
<property>
<name>mapred.map.child.java.opts</name>
<value>-Djava.awt.headless=true</value>
</property>
<property>
<name>mapred.reduce.child.java.opts</name>
<value>-Djava.awt.headless=true</value>
</property>
</configuration>
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
/**
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<configuration>
<property>
<name>mapred.map.child.java.opts</name>
<value>-Djava.awt.headless=true</value>
</property>
<property>
<name>mapred.reduce.child.java.opts</name>
<value>-Djava.awt.headless=true</value>
</property>
</configuration>

View File

@ -514,8 +514,7 @@
using method parallelization class ! -->
<testFailureIgnore>false</testFailureIgnore>
<forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
<argLine>-enableassertions -Xmx1900m -XX:MaxPermSize=100m
-Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true</argLine>
<argLine>-enableassertions -Xmx1900m -XX:MaxPermSize=100m -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true</argLine>
<redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
</configuration>
<executions>
@ -1942,7 +1941,7 @@
<destDir>devapidocs</destDir>
</configuration>
</reportSet>
<reportSet>
<id>userapi</id> <!-- public user hbase api; limited but has stronger compat/deprecation guarantees -->
<reports> <report>aggregate</report></reports>
@ -1959,7 +1958,7 @@
<description>The HBase Application Programmer's API</description>
</configuration>
</reportSet>
</reportSets>
</reportSets>
</plugin>
</plugins>