Re: [issue2551202] mysqlRestTest.testRestRateLimit fails on slow machine

"John P. Rouillard" <[email protected]> Tue, 03 May 2022 10:04:25 -0400
Newsgroups gmane.comp.bug-tracking.roundup.devel
Message-ID <[email protected]>
In message <[email protected]>,
Ralf Schlatterbeck writes:
>On a slow machine I'm getting the following failed error for mysql:
>
>        # value will be almost 60. Allow 1-2 seconds for all 20 rounds.
>        self.assertAlmostEqual(
>            float(self.server.client.additional_headers["X-RateLimit-Reset"]),
>>           59, delta=1)
>E       AssertionError: 57.706104 != 59 within 1 delta (1.2938959999999966 difference)
>
>Should we live with this failing occasionally or make the error margin
>a little higher (I'd suggest 5 which should never fail and is about 10%)?

I'm ok with 5.