Skip to content
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

K8s: test-gateway addition to tox #8161

Merged
merged 7 commits into from
Oct 16, 2023

Conversation

Param-29
Copy link
Contributor

@Param-29 Param-29 commented Oct 13, 2023

Description

Resolves: https://github.com/OpenMined/Heartbeat/issues/766

Affected Dependencies

List any dependencies that are required for this change.

How has this been tested?

  • Describe the tests that you ran to verify your changes.
  • Provide instructions so we can reproduce.
  • List any relevant details for your test configuration.

Checklist

@Param-29 Param-29 changed the title K9s: test-gateway addition to tox K8s: test-gateway addition to tox Oct 13, 2023
@Param-29 Param-29 changed the title K8s: test-gateway addition to tox [WIP] K8s: test-gateway addition to tox Oct 13, 2023
@rasswanth-s rasswanth-s changed the title [WIP] K8s: test-gateway addition to tox K8s: test-gateway addition to tox Oct 15, 2023
Copy link
Collaborator

@rasswanth-s rasswanth-s left a comment

Choose a reason for hiding this comment

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

Well Done @Param-29

@rasswanth-s
Copy link
Collaborator

rasswanth-s commented Oct 15, 2023

Pre-Merge check on staging server, where a gateway could connect to localhost domain, which is not reachable as a proxy client.
Screenshot 2023-10-15 at 6 35 13 PM

After the PR -merge, the staging server would be updated, by which , we could check this same test, where we should receive an error during connection itself, where the gateway rejects connection if it is not rechable

self.connect_to_vpn_self()
except Exception as e:
print("Error connecting to VPN: ", e)
# try:
Copy link
Collaborator

Choose a reason for hiding this comment

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

@shubham3121 , for info, I have commented it out, as we are not currently using tailscale, headscale.This was causing very slow startup times, while launching a gateway.

@rasswanth-s rasswanth-s merged commit b19b422 into OpenMined:dev Oct 16, 2023
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants