Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 369988

Summary: New small Test for DoSFilter.RateTracker
Product: [RT] Jetty Reporter: Thomas Becker <tbecker>
Component: serverAssignee: Greg Wilkins <gregw>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: jetty-inbox
Version: unspecified   
Target Milestone: 7.5.x   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
proposed patch none

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