From 2baeaa20a33f5792abca8ad7b2d9a2dc6246000c Mon Sep 17 00:00:00 2001 From: Colin Patrick Mccabe Date: Wed, 13 Jan 2016 16:28:06 -0800 Subject: [PATCH] HDFS-9517. Fix missing @Test annotation on TestDistCpUtils.testUnpackAttributes (Wei-Chiu Chuang via cmccabe) (cherry picked from commit 8315582c4ff2951144b096c23a64e753f397572d) --- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ .../java/org/apache/hadoop/tools/util/TestDistCpUtils.java | 1 + 2 files changed, 4 insertions(+) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index d82806cef62..4a3b935a40c 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -43,6 +43,9 @@ Release 2.9.0 - UNRELEASED HADOOP-12590. TestCompressorDecompressor failing without stack traces (John Zhuge via stevel) + HDFS-9517. Fix missing @Test annotation on + TestDistCpUtils.testUnpackAttributes (Wei-Chiu Chuang via cmccabe) + Release 2.8.0 - UNRELEASED INCOMPATIBLE CHANGES diff --git a/hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/util/TestDistCpUtils.java b/hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/util/TestDistCpUtils.java index 200d78664fb..8c79becfa0b 100644 --- a/hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/util/TestDistCpUtils.java +++ b/hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/util/TestDistCpUtils.java @@ -104,6 +104,7 @@ public void testPackAttributes() { Assert.assertEquals(DistCpUtils.packAttributes(attributes), "RBUGPCT"); } + @Test public void testUnpackAttributes() { EnumSet attributes = EnumSet.allOf(FileAttribute.class); Assert.assertEquals(attributes, DistCpUtils.unpackAttributes("RCBUGPAXT"));