From f484a3c01992460182e43328cc4525d13de526dd Mon Sep 17 00:00:00 2001 From: Tsz-wo Sze Date: Mon, 30 Apr 2012 20:12:23 +0000 Subject: [PATCH] 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 --- 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 fdd81cc1d25..ff51595e66e 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -488,6 +488,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 INCOMPATIBLE CHANGES 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 {