Skip to content

Commit 6f3b60e

Browse files
merge conflict
1 parent d05966d commit 6f3b60e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hbase-server/src/test/java/org/apache/hadoop/hbase/quotas/TestQuotaCache2.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)