-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add retry to tests requiring forwarding #949
chore: add retry to tests requiring forwarding #949
Conversation
4b6872c
to
2ae1e2e
Compare
9f811ef
to
bc283b3
Compare
bc283b3
to
e8792b2
Compare
e8792b2
to
7b43c41
Compare
99712fa
to
2fe7d3d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
773afa8
to
0d2c3ac
Compare
0d2c3ac
to
b0916cf
Compare
# Test primary/replica forwarding with global config setting | ||
primary_url, replica_url = registry_async_auth_pair | ||
max_tries, counter = 5, 0 | ||
wait_time = 0.5 | ||
for compat in ["FULL", "BACKWARD", "FORWARD", "NONE"]: | ||
resp = requests.put(f"{replica_url}/config", json={"compatibility": compat}, auth=auth) | ||
resp = await registry_async_retry_client_auth.put(f"{replica_url}/config", json={"compatibility": compat}, auth=admin) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was failing and we had to split the used auth
, aiohttp
requires the BasicAuth
and requests
requires something different, but we were first passing the requests auth to the aiohttp client and it was failing.
b0916cf
to
09f06a1
Compare
09f06a1
to
9051154
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
9051154
to
86c3817
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
About this change - What it does
References: #xxxxx
Why this way