Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Improve rate limiting tests #256

Merged
merged 5 commits into from Jul 22, 2021
Merged

Improve rate limiting tests #256

merged 5 commits into from Jul 22, 2021

Conversation

FedericoCeratto
Copy link
Contributor

No description provided.

@FedericoCeratto FedericoCeratto changed the title Rate limit 2 Improve rate limiting tests Jul 14, 2021
while time.monotonic() < end_time:
resp = client.get("/_/test_names", headers=headers)
if resp.status_code == 429:
assert 0, "test"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be a true assertion?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Copy link
Member

@hellais hellais left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment related to one of the tests, otherwise looks good to merge

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants