YARN-909. Disable TestLinuxContainerExecutorWithMocks on Windows. Contributed by Chuan Liu.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1503357 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fe735f237c
commit
1db4319072
|
@ -754,6 +754,9 @@ Release 2.1.0-beta - 2013-07-02
|
|||
YARN-894. NodeHealthScriptRunner timeout checking is inaccurate on Windows.
|
||||
(Chuan Liu via cnauroth)
|
||||
|
||||
YARN-909. Disable TestLinuxContainerExecutorWithMocks on Windows. (Chuan Liu
|
||||
via cnauroth)
|
||||
|
||||
YARN-795. Fair scheduler queue metrics should subtract allocated vCores from
|
||||
available vCores. (ywskycn via tucu)
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
package org.apache.hadoop.yarn.server.nodemanager;
|
||||
|
||||
import static junit.framework.Assert.assertEquals;
|
||||
import static org.junit.Assume.assumeTrue;
|
||||
import static org.mockito.Mockito.mock;
|
||||
import static org.mockito.Mockito.when;
|
||||
|
||||
|
@ -79,6 +80,7 @@ public class TestLinuxContainerExecutorWithMocks {
|
|||
|
||||
@Before
|
||||
public void setup() {
|
||||
assumeTrue(!Path.WINDOWS);
|
||||
File f = new File("./src/test/resources/mock-container-executor");
|
||||
if(!FileUtil.canExecute(f)) {
|
||||
FileUtil.setExecutable(f, true);
|
||||
|
|
Loading…
Reference in New Issue