From 0af11f7bffc6324b1f3f7eea1d654f284defcca5 Mon Sep 17 00:00:00 2001 From: Tsz-wo Sze Date: Mon, 30 Apr 2012 20:13:34 +0000 Subject: [PATCH] svn merge -c 1332363 from trunk for HADOOP-8330. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1332364 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ .../src/test/java/org/apache/hadoop/io/TestSequenceFile.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index d92d1837c73..aa13497be8a 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -368,6 +368,9 @@ Release 0.23.3 - UNRELEASED HADOOP-8334. HttpServer sometimes returns incorrect port (Daryn Sharp via bobby) + HADOOP-8330. Update TestSequenceFile.testCreateUsesFsArg() for HADOOP-8305. + (John George via szetszwo) + Release 0.23.2 - UNRELEASED NEW FEATURES diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestSequenceFile.java b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestSequenceFile.java index 58998be8e65..79b68b86c5e 100644 --- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestSequenceFile.java +++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestSequenceFile.java @@ -470,7 +470,7 @@ public class TestSequenceFile extends TestCase { SequenceFile.Writer writer = SequenceFile.createWriter( spyFs, conf, p, NullWritable.class, NullWritable.class); writer.close(); - Mockito.verify(spyFs).getDefaultReplication(); + Mockito.verify(spyFs).getDefaultReplication(p); } private static class TestFSDataInputStream extends FSDataInputStream {