Skip to content

throttler: client unit test: Register the test server before calling gRPC's Serve().#3261

Merged
michael-berlin merged 1 commit intovitessio:masterfrom
michael-berlin:grpcthrottler_fix
Sep 30, 2017
Merged

throttler: client unit test: Register the test server before calling gRPC's Serve().#3261
michael-berlin merged 1 commit intovitessio:masterfrom
michael-berlin:grpcthrottler_fix

Conversation

@michael-berlin
Copy link
Copy Markdown
Contributor

Fixes #3260.

I also clarified in grpc_server.go that we are adhering to this requirement when starting up the binary.

@alainjobart
Copy link
Copy Markdown
Contributor

alainjobart commented Sep 29, 2017

LGTM thanks for fixing this.

Approved with PullApprove

…gRPC's Serve().

Fixes vitessio#3260.

I also clarified in grpc_server.go that we are adhering to this requirement when starting up the binary.
@michael-berlin
Copy link
Copy Markdown
Contributor Author

I missed another occurrence in go/vt/wrangler/testlib/throttler_test.go and just pushed a fix for that as well (was a one line fix).

I also double-checked all other *_test.go files and there we don't have the problem. That means we should be good after this is merged.

I'll merge once Travis passed.

@michael-berlin michael-berlin merged commit 8cb339e into vitessio:master Sep 30, 2017
@michael-berlin michael-berlin deleted the grpcthrottler_fix branch September 30, 2017 00:50
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.

3 participants