Skip to content

Add TestGrpcScope#24170

Merged
veblush merged 1 commit intogrpc:masterfrom
veblush:bm-census
Sep 17, 2020
Merged

Add TestGrpcScope#24170
veblush merged 1 commit intogrpc:masterfrom
veblush:bm-census

Conversation

@veblush
Copy link
Copy Markdown
Contributor

@veblush veblush commented Sep 17, 2020

Add TestGrpcScope to control timing for gRPC init and shutdown. This is developed for bm_opencensus which needs to configure gRPC before init to run test with or without census. Previously bm_opencensus used to call TestEnvironment without argv multiple times but this is not right because i) TestEnvironment is not designed to be called several times and ii) having null argv happened to be safe but not anymore.

@veblush veblush added kind/enhancement area/test lang/core release notes: no Indicates if PR should not be in release notes labels Sep 17, 2020
@veblush veblush requested a review from yang-g September 17, 2020 19:42
@veblush veblush merged commit 6aaec26 into grpc:master Sep 17, 2020
@veblush veblush deleted the bm-census branch September 17, 2020 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/test kind/enhancement lang/core release notes: no Indicates if PR should not be in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants