Closed Bug 1055273 Opened 10 years ago Closed 10 years ago

Smarter and faster test of API ratelimit

Categories

(Socorro :: Webapp, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterbe, Assigned: peterbe)

Details

The slowest test in the webapp suite is test_CrashesPerAdu_too_much(). 
It takes a whopping 0.8 seconds. It's because it does 1001 API calls. That's a lot more than what the cap is.
Assignee: nobody → peterbe
Status: NEW → ASSIGNED
Commits pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/3c74c81600c1353e1eddd85ae5eaa30245c44803
fixes bug 1055273 - Smarter and faster test of API ratelimit

https://github.com/mozilla/socorro/commit/b899d582fd3696a686d590a77b6a5e7b27648ade
Merge pull request #2300 from peterbe/bug-1055273-smarter-and-faster-test-of-api-ratelimit

fixes bug 1055273 - Smarter and faster test of API ratelimit
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99
You need to log in before you can comment on or make changes to this bug.