Skip to content

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

Merged
tqchen merged 3 commits intoapache:mainfrom
Deelvin:agladyshev/pr/rpc/tracker_via_proxy
Oct 11, 2021
Merged

[RPC] Fix Server connecting to RPC Tracker through a Proxy#9210
tqchen merged 3 commits intoapache:mainfrom
Deelvin:agladyshev/pr/rpc/tracker_via_proxy

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.

3 participants