Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Cleanup: class reference
Browse files Browse the repository at this point in the history
  • Loading branch information
gsheasby authored and fsamuel-bs committed Nov 17, 2017
1 parent ed598f1 commit 6a25881
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@
import org.junit.Before;
import org.junit.Test;

import com.palantir.atlasdb.qos.ratelimit.guava.RateLimiter;

public class QosRateLimiterTest {

private static final long START_TIME_MICROS = 0L;
private static final long MAX_BACKOFF_TIME_MILLIS = 10_000;

com.palantir.atlasdb.qos.ratelimit.guava.RateLimiter.SleepingStopwatch stopwatch = mock(
com.palantir.atlasdb.qos.ratelimit.guava.RateLimiter.SleepingStopwatch.class);
RateLimiter.SleepingStopwatch stopwatch = mock(RateLimiter.SleepingStopwatch.class);
QosRateLimiter limiter = new QosRateLimiter(stopwatch, MAX_BACKOFF_TIME_MILLIS);

@Before
Expand Down

0 comments on commit 6a25881

Please sign in to comment.