HDFS-9517. Fix missing @Test annotation on TestDistCpUtils.testUnpackAttributes (Wei-Chiu Chuang via cmccabe)

This commit is contained in:
Colin Patrick Mccabe 2016-01-13 16:28:06 -08:00
parent fb64e6051a
commit 8315582c4f
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -104,6 +104,7 @@ public class TestDistCpUtils {
Assert.assertEquals(DistCpUtils.packAttributes(attributes), "RBUGPCT");
}
@Test
public void testUnpackAttributes() {
EnumSet<FileAttribute> attributes = EnumSet.allOf(FileAttribute.class);
Assert.assertEquals(attributes, DistCpUtils.unpackAttributes("RCBUGPAXT"));