Roundup Tracker - Issues

Message7489

Author schlatterbeck
Recipients rouilj, schlatterbeck
Date 2022-05-03.11:39:45
Message-id <1651577986.08.0.496676273549.issue2551202@roundup.psfhosted.org>
In-reply-to
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)

test/rest_common.py:1121: AssertionError

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%)?
History
Date User Action Args
2022-05-03 11:39:46schlatterbecksetrecipients: + schlatterbeck, rouilj
2022-05-03 11:39:46schlatterbecksetmessageid: <1651577986.08.0.496676273549.issue2551202@roundup.psfhosted.org>
2022-05-03 11:39:46schlatterbecklinkissue2551202 messages
2022-05-03 11:39:45schlatterbeckcreate