From 32d33735df2c005373417bfc2ba32881ffcb0a5d Mon Sep 17 00:00:00 2001 From: tianhang Date: Sat, 25 Feb 2023 23:15:09 +0800 Subject: [PATCH] HBASE-27661 Set size of systable queue in UT (#5053) Signed-off-by: Duo Zhang (cherry picked from commit bc31e68e857c5bb51b7de77c2f5c2e06153d0cd1) --- .../org/apache/hadoop/hbase/namequeues/TestSlowLogAccessor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/namequeues/TestSlowLogAccessor.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/namequeues/TestSlowLogAccessor.java index 9e2b6a3e68b0..384595967aa3 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/namequeues/TestSlowLogAccessor.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/namequeues/TestSlowLogAccessor.java @@ -80,6 +80,7 @@ public static void setup() throws Exception { conf.setBoolean(HConstants.SLOW_LOG_SYS_TABLE_ENABLED_KEY, true); conf.setInt("hbase.slowlog.systable.chore.duration", 900); conf.setInt("hbase.regionserver.slowlog.ringbuffer.size", 50000); + conf.setInt("hbase.regionserver.slowlog.systable.queue.size", 5000); HBASE_TESTING_UTILITY.startMiniCluster(); }