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

inline localhost certificate into go file #318

Merged
merged 3 commits into from
Jul 16, 2020

Conversation

bmon
Copy link
Contributor

@bmon bmon commented Jul 16, 2020

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

This change allows library clients correctly run test suites when vendoring modules. Before this change, the certificate files would be pruned when vendoring, causing the tests to fail or deadlock.

Also included in this PR is a timeout for InterceptorTestSuite.SetupSuite which prevents a deadlock that occurs if an error is encountered when establishing the server.

Verification

bmon added 2 commits July 16, 2020 21:39
This change allows library clients correctly run test suites when
vendoring modules. Before this commit, these files would be pruned when
vendoring, causing the tests to fail or deadlock.

resolves grpc-ecosystem#285
This commit fixes an issue which occurs if either of the assertions on
L61 or L64 fail. In this case, the `serverRunning` chan will never be
written or closed and the test will deadlock forever or until the test
suite times out (default 10 minutes).
go.sum Outdated Show resolved Hide resolved
Copy link
Collaborator

@johanbrandhorst johanbrandhorst left a comment

Choose a reason for hiding this comment

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

LGTM

@johanbrandhorst
Copy link
Collaborator

johanbrandhorst commented Jul 16, 2020

Looks like we've got a flaky test, I'll rerun it.

#319

@johanbrandhorst johanbrandhorst merged commit 61761eb into grpc-ecosystem:v2 Jul 16, 2020
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.

None yet

2 participants