File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
hbase-server/src/test/java/org/apache/hadoop/hbase/quotas Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ public void testUserSpecificOverridesDefaultNewQuota() {
155155 .setReadSize (QuotaProtos .TimedQuota .newBuilder ().setTimeUnit (HBaseProtos .TimeUnit .SECONDS )
156156 .setSoftLimit (100 ).setScope (QuotaProtos .QuotaScope .MACHINE ).build ())
157157 .build ();
158- QuotaLimiter limiter1 = TimeBasedLimiter .fromThrottle (throttle1 );
158+ QuotaLimiter limiter1 = TimeBasedLimiter .fromThrottle (conf , throttle1 );
159159 oldState .setGlobalLimiter (limiter1 );
160160
161161 // establish new cache, with a limiter for 999 read bytes per second
@@ -166,7 +166,7 @@ public void testUserSpecificOverridesDefaultNewQuota() {
166166 .setReadSize (QuotaProtos .TimedQuota .newBuilder ().setTimeUnit (HBaseProtos .TimeUnit .SECONDS )
167167 .setSoftLimit (999 ).setScope (QuotaProtos .QuotaScope .MACHINE ).build ())
168168 .build ();
169- QuotaLimiter limiter2 = TimeBasedLimiter .fromThrottle (throttle2 );
169+ QuotaLimiter limiter2 = TimeBasedLimiter .fromThrottle (conf , throttle2 );
170170 newState .setGlobalLimiter (limiter2 );
171171
172172 // update new cache from old cache
You can’t perform that action at this time.
0 commit comments