sonatype/nexus — pull request #285 by cstamas (2012-02-08 10:53:47+00:00)
Title: Making FixedRateThrottleController UT more reliable.

The original UT was too unreliable, mostly because it was "mixing" millis and nanos (and in some cases it did fail the build without any reason).

Now, the test is simplified, and on my mac returns (if you uncomment the System.out lines) nice values (around 15% of limit TPS)