HDFS-9517. Fix missing @Test annotation on TestDistCpUtils.testUnpackAttributes (Wei-Chiu Chuang via cmccabe)
This commit is contained in:
parent
fb64e6051a
commit
8315582c4f
|
@ -684,6 +684,9 @@ Release 2.9.0 - UNRELEASED
|
||||||
HADOOP-12590. TestCompressorDecompressor failing without stack traces
|
HADOOP-12590. TestCompressorDecompressor failing without stack traces
|
||||||
(John Zhuge via stevel)
|
(John Zhuge via stevel)
|
||||||
|
|
||||||
|
HDFS-9517. Fix missing @Test annotation on
|
||||||
|
TestDistCpUtils.testUnpackAttributes (Wei-Chiu Chuang via cmccabe)
|
||||||
|
|
||||||
Release 2.8.0 - UNRELEASED
|
Release 2.8.0 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -104,6 +104,7 @@ public class TestDistCpUtils {
|
||||||
Assert.assertEquals(DistCpUtils.packAttributes(attributes), "RBUGPCT");
|
Assert.assertEquals(DistCpUtils.packAttributes(attributes), "RBUGPCT");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
public void testUnpackAttributes() {
|
public void testUnpackAttributes() {
|
||||||
EnumSet<FileAttribute> attributes = EnumSet.allOf(FileAttribute.class);
|
EnumSet<FileAttribute> attributes = EnumSet.allOf(FileAttribute.class);
|
||||||
Assert.assertEquals(attributes, DistCpUtils.unpackAttributes("RCBUGPAXT"));
|
Assert.assertEquals(attributes, DistCpUtils.unpackAttributes("RCBUGPAXT"));
|
||||||
|
|
Loading…
Reference in New Issue