Open aftermath2 opened 10 months ago
The http\api\middleware\limiter_test.go unit test is failing on Ubuntu but passing on other OSs.
http\api\middleware\limiter_test.go
The logic seems correct, but there might be a difference in the funcionality of the httptest.Recorder that is causing it to fail.
httptest.Recorder
https://github.com/aftermath2/btry/blob/93ff8e9d4ff37187b925449e332a45c47968b6e8/http/api/middleware/limiter_test.go#L17-L17
Description
The
http\api\middleware\limiter_test.go
unit test is failing on Ubuntu but passing on other OSs.The logic seems correct, but there might be a difference in the funcionality of the
httptest.Recorder
that is causing it to fail.https://github.com/aftermath2/btry/blob/93ff8e9d4ff37187b925449e332a45c47968b6e8/http/api/middleware/limiter_test.go#L17-L17