[MISC] Rework helpers to avoid connections from test host - #372
[MISC] Rework helpers to avoid connections from test host#372astrojuanlu wants to merge 12 commits into
Conversation
6ee6394 to
ce4fb64
Compare
ce4fb64 to
9528f5a
Compare
execute_queries_on_unit
paulomach
left a comment
There was a problem hiding this comment.
We should also be able to get rid of mysql-connector-python dependency in integration group of pyproject.toml.
And I am happy to merge this to unblock #341 but we should try to use the same approach on the machine tests also.
45c3a8d to
967692d
Compare
|
After discussing with @paulomach , we realized that we actually don't need this for #341. Canonical K8s will allow external connections, just not in HA mode. At the same time, I ran into some challenges with this PR, in particular with |
1fa820d to
7711b64
Compare
|
Actually, on second thought, leaving that test aside, this was ready for review and most tests were passing. |
|
(This means that we can't remove the |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Juan Luis Cano Rodríguez <hello@juanlu.space>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Juan Luis Cano Rodríguez <hello@juanlu.space>
7711b64 to
a888840
Compare
|
Rebased. LMK @paulomach if you still think it's worth moving forward with this. |
Yes, but not right now. We can keep it dormant for now and get back after current pulse(TM) |
I've sent @astrojuanlu on a wrong path about canonical k8s, as I initially thought that ck8s was not routing local external traffic to pods. It does. I saw this issue while running repo tests against a ck8s HA setup (not a local snap). So the idea boils down to ditch usage of local
No, that will make runners cry.
Don't know. |
Turns out MySQL Shell does not respect This might be a fundamental feature of how the X protocol works, but I haven't been able to pinpoint that in the official documentation. |
Issue
Make
execute_queries_on_unitandis_connection_possibleindependent from MicroK8s routes.This makes it easier to run the test suite against HA Canonical K8s, which is closer to how production setups actually are.
Solution
Checklist