HADOOP-8330. Update TestSequenceFile.testCreateUsesFsArg() for HADOOP-8305. Contributed by John George

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1332363 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Tsz-wo Sze 2012-04-30 20:12:23 +00:00
parent 8a0c7323ce
commit f484a3c019
2 changed files with 4 additions and 1 deletions

View File

@ -488,6 +488,9 @@ Release 0.23.3 - UNRELEASED
HADOOP-8334. HttpServer sometimes returns incorrect port (Daryn Sharp via HADOOP-8334. HttpServer sometimes returns incorrect port (Daryn Sharp via
bobby) bobby)
HADOOP-8330. Update TestSequenceFile.testCreateUsesFsArg() for HADOOP-8305.
(John George via szetszwo)
Release 0.23.2 - UNRELEASED Release 0.23.2 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -470,7 +470,7 @@ public void testCreateUsesFsArg() throws Exception {
SequenceFile.Writer writer = SequenceFile.createWriter( SequenceFile.Writer writer = SequenceFile.createWriter(
spyFs, conf, p, NullWritable.class, NullWritable.class); spyFs, conf, p, NullWritable.class, NullWritable.class);
writer.close(); writer.close();
Mockito.verify(spyFs).getDefaultReplication(); Mockito.verify(spyFs).getDefaultReplication(p);
} }
private static class TestFSDataInputStream extends FSDataInputStream { private static class TestFSDataInputStream extends FSDataInputStream {