From 8315582c4ff2951144b096c23a64e753f397572d 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) --- 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 a358cf30ef..f3c057ab64 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -684,6 +684,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 200d78664f..8c79becfa0 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"));