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

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

View File

@ -791,6 +791,9 @@ Release 2.7.0 - UNRELEASED
HADOOP-11776. Fixed the broken JDiff support in Hadoop 2. (Li Lu via vinodkv) 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 Release 2.6.1 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

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