HDFS-3156. TestDFSHAAdmin is failing post HADOOP-8202. Contributed by Aaron T. Myers.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1306517 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Aaron Myers 2012-03-28 17:58:23 +00:00
parent 67a74198b1
commit 1427468a72
2 changed files with 4 additions and 1 deletions

View File

@ -360,6 +360,8 @@ Release 0.23.3 - UNRELEASED
HDFS-3132. Fix findbugs warning on HDFS trunk. (todd)
HDFS-3156. TestDFSHAAdmin is failing post HADOOP-8202. (atm)
BREAKDOWN OF HDFS-1623 SUBTASKS
HDFS-2179. Add fencing framework and mechanisms for NameNode HA. (todd)

View File

@ -36,6 +36,7 @@
import org.apache.hadoop.ha.HAServiceTarget;
import org.apache.hadoop.ha.HealthCheckFailedException;
import org.apache.hadoop.ha.NodeFencer;
import org.apache.hadoop.test.MockitoUtil;
import org.junit.Before;
import org.junit.Test;
@ -79,7 +80,7 @@ private HdfsConfiguration getHAConf() {
@Before
public void setup() throws IOException {
mockProtocol = Mockito.mock(HAServiceProtocol.class);
mockProtocol = MockitoUtil.mockProtocol(HAServiceProtocol.class);
tool = new DFSHAAdmin() {
@Override