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

Add the connection backoff interop test #557

Merged
merged 1 commit into from
Aug 20, 2019

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Aug 19, 2019

Motivation:

We'd like our implementation to be compliant with the gRPC
specification. Passing the interop tests is an important part of this,
yet we don't have an implementation of the connectivity backoff test.

Modifications:

  • Implement the connectivity backoff test.
  • Fixes a bug where call timeouts would not be respected if the
    connection had not been established.
  • Fixes a bug where the connection could be re-established after calling
    shutdown.

Result:

Our connection backoff code has better test coverage; fewer bugs.

Motivation:

We'd like our implementation to be compliant with the gRPC
specification. Passing the interop tests is an important part of this,
yet we don't have an implementation of the connectivity backoff test.

Modifications:

- Implement the connectivity backoff test.
- Fixes a bug where call timeouts would not be respected if the
  connection had not been established.
- Fixes a bug where the connection could be re-established after calling
  shutdown.

Result:

Our connection backoff code has better test coverage; fewer bugs.
@glbrntt glbrntt requested a review from MrMage August 19, 2019 15:42
@glbrntt glbrntt closed this Aug 19, 2019
@glbrntt glbrntt reopened this Aug 19, 2019
Copy link
Collaborator

@MrMage MrMage left a comment

Choose a reason for hiding this comment

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

Should we run this as part of CI; maybe in parallel to the other CI runs given that it takes fairly long?

@glbrntt
Copy link
Collaborator Author

glbrntt commented Aug 20, 2019

We should yes, I was going to set up the CI to run all interop tests against a different implementation (probably C++ since it's recommended for the backoff test). I'll look into this and post a separate PR.

@MrMage MrMage merged commit d2c0fce into grpc:nio Aug 20, 2019
@glbrntt glbrntt deleted the backoff-interop-test branch August 20, 2019 09:27
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.

2 participants