Searched refs:measureTotalTimeMillis (Results 1 – 1 of 1) sorted by relevance
378 long burst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random()); in testWeNeverGetABurstMoreThanOneSec()381 long afterBurst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random()); in testWeNeverGetABurstMoreThanOneSec()406 assertEquals(warmupMillis, measureTotalTimeMillis(rateLimiter, maxPermits, random)); in testTimeToWarmUpIsHonouredEvenWithWeights()419 private long measureTotalTimeMillis(RateLimiter rateLimiter, int permits, Random random) { in measureTotalTimeMillis() method in RateLimiterTest