Community
Participate
Working Groups
Build Identifier: DoSFilterTest.testEvenLowRateIp() and DoSFilterTest.testMultipleSessionTracking() seem to fail intermittently on MacOs and thus break the build. Reproducible: Always
also in CloseableDoSFilterTest
Created attachment 210259 [details] proposed patch .testEvenLowRateIP() was failing intermittently as well. But right now I can't seem to be able to reproduce it anymore. Even running the same test 100 times didn't cause a failure. So I fixed .testMultipleSessionTracking(). Problem was a timing issue. With a sleep of 550ms after the first request burst it sometimes happened that the 6th request with sessionId1 didn't make it into DoSFilter.RateTracker within 1000ms.
i had actually applied your numbers change back when we had discussed this on irc so I think this is gtg