HBASE-6616 test failure in TestDelayedRpc#testTooManyDelayedRpcs

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1377027 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2012-08-24 18:39:30 +00:00
parent 5f5f22e30d
commit 567723f028
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,7 @@ import org.apache.hadoop.hbase.MediumTests;
import org.apache.log4j.AppenderSkeleton;
import org.apache.log4j.Logger;
import org.apache.log4j.spi.LoggingEvent;
import org.apache.log4j.Level;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.mortbay.log.Log;
@ -130,6 +131,7 @@ public class TestDelayedRpc {
ListAppender listAppender = new ListAppender();
Logger log = Logger.getLogger("org.apache.hadoop.ipc.HBaseServer");
log.addAppender(listAppender);
log.setLevel(Level.WARN);
InetSocketAddress isa = new InetSocketAddress("localhost", 0);
rpcServer = HBaseRPC.getServer(new TestRpcImpl(true),