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

Wait for gRPC server to start before connecting client #421

Merged
merged 1 commit into from
May 21, 2020

Conversation

badsyntax
Copy link
Collaborator

@badsyntax badsyntax commented May 21, 2020

Refs #397

As the gGRPC client should only try connect once the server is started, we now wait for the socket to be open before attempting to connect.

The extension will wait a maximum of 2 minutes for the socket to be open on the specified port. This should be more than enough time for most machines.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@badsyntax
Copy link
Collaborator Author

LGTM. Tests are consistently passing now.

@badsyntax badsyntax merged commit 6cd108e into master May 21, 2020
@badsyntax badsyntax deleted the wait-for-server branch May 21, 2020 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant