From 28cfad9739124284d1dfbba0a68cb8391d93bbe1 Mon Sep 17 00:00:00 2001 From: Zhihong Yu Date: Fri, 22 Mar 2013 23:44:51 +0000 Subject: [PATCH] HBASE-7878 recoverFileLease does not check return value of recoverLease, addendum git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1460058 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/hadoop/hbase/regionserver/wal/TestHLogSplit.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestHLogSplit.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestHLogSplit.java index 8a996b55751..320a6f83dea 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestHLogSplit.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestHLogSplit.java @@ -726,7 +726,7 @@ public class TestHLogSplit { try { HLogSplitter logSplitter = HLogSplitter.createLogSplitter(conf, HBASEDIR, HLOGDIR, OLDLOGDIR, fs); - splits = logSplitter.splitLog(); + splits = logSplitter.splitLog(latch); } catch (IOException ex) { /* expected */ LOG.warn("testSplitWillNotTouchLogsIfNewHLogGetsCreatedAfterSplitStarted", ex);