HADOOP-11796. Skip TestShellBasedIdMapping.testStaticMapUpdate on Windows. Contributed by Xiaoyu Yao.

(cherry picked from commit bd77a7c4d9)
(cherry picked from commit 6e70611819)
This commit is contained in:
cnauroth 2015-04-07 14:47:21 -07:00
parent 5021f52f7b
commit c6ad39e406
2 changed files with 4 additions and 0 deletions

View File

@ -724,6 +724,9 @@ Release 2.7.0 - UNRELEASED
HADOOP-11776. Fixed the broken JDiff support in Hadoop 2. (Li Lu via vinodkv)
HADOOP-11796. Skip TestShellBasedIdMapping.testStaticMapUpdate on Windows.
(Xiaoyu Yao via cnauroth)
Release 2.6.1 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -129,6 +129,7 @@ public class TestShellBasedIdMapping {
// Test staticMap refreshing
@Test
public void testStaticMapUpdate() throws IOException {
assumeTrue(!Shell.WINDOWS);
File tempStaticMapFile = File.createTempFile("nfs-", ".map");
tempStaticMapFile.delete();
Configuration conf = new Configuration();