Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369988 - New small Test for DoSFilter.RateTracker
Summary: New small Test for DoSFilter.RateTracker
Status: RESOLVED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: server (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 7.5.x   Edit
Assignee: Greg Wilkins CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-27 13:21 EST by Thomas Becker CLA
Modified: 2012-01-30 19:07 EST (History)
1 user (show)

See Also:


Attachments
proposed patch (4.11 KB, patch)
2012-01-27 13:22 EST, Thomas Becker CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Becker CLA 2012-01-27 13:21:21 EST
Build Identifier: 

I have been testing/verifying something regarding the intermittently failing DoSFilter and as part of doing that I wrote a small testcase for DoSFilter.RateTracker.isRateExceeded().

It's not a big deal, but will increase test coverage a bit and might help if someone will need to change that method.

Reproducible: Always
Comment 1 Thomas Becker CLA 2012-01-27 13:22:54 EST
Created attachment 210211 [details]
proposed patch
Comment 2 Greg Wilkins CLA 2012-01-30 19:07:55 EST
applied