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

[RPC] Fix Server connecting to RPC Tracker through a Proxy #9210

Merged
merged 3 commits into from Oct 11, 2021

Conversation

KJlaccHoeUM9l
Copy link
Contributor

Fixed Server connecting to RPC Tracker through a Proxy which was broken. Additionally, a test has been added to check this type of connection in regular CI.


client = rpc.connect_tracker(tracker_server.host, tracker_server.port)
summary = client.summary()
assert summary["queue_info"][device_key]["free"] == 2
Copy link
Member

Choose a reason for hiding this comment

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

relying on sleep can be unreliable and cause flaky errors(as in many past cases). Can we just not assert the query part and make sure connection to tracker is covered

@tqchen
Copy link
Member

tqchen commented Oct 8, 2021

Thanks @KJlaccHoeUM9l . made a minor comment on test

@KJlaccHoeUM9l KJlaccHoeUM9l force-pushed the agladyshev/pr/rpc/tracker_via_proxy branch from bbcf0cf to 36c4092 Compare October 11, 2021 13:05
@tqchen tqchen merged commit f08dca8 into apache:main Oct 11, 2021
@tqchen
Copy link
Member

tqchen commented Oct 11, 2021

Thank you @KJlaccHoeUM9l !

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.

None yet

3 participants